In Windows environment, I get the following error when trying to install it in Heroku
C: /Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/commands/base.rb: 32: in ': there is no such file or directory - git remote (Errno :: ENOENT) from C: /Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/commands/ba se.rb: 32: in shell' from C:/Ruby/lib/ruby/1.8/fileutils.rb:121:in chdir 'from C: /Ruby/lib/ruby/1.8/fileutils .rb: 121: in cd' from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/commands/ba se.rb:32:inshell "from C: /Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/commands/ap p.rb: 52: in create' from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/command.rb: 48:insend 'from C: / Ruby / lib / ruby / gems / 1.8 / gems / heroku-1.9.13 / lib / heroku / command.rb: 48: in run_internal' from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/command.rb: 20:inrun 'from C: /Ruby/lib/ruby/gems/1.8/gems/heroku-1.9 .13 / bin / heroku: 13 from C: / Ruby / bin / heroku: 19: to `load 'from C: / Ruby / bin / heroku: 19
shell' from C:/Ruby/lib/ruby/1.8/fileutils.rb:121:in
cd' from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/commands/ba se.rb:32:in
create' from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/command.rb: 48:in
run_internal' from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/command.rb: 20:in
Any idea how I can fix this? This is done from the Ruby command line (which seems like a normal command line to me)
Ok, so I figured out how this works and why this happens.
For some reason, I can only run Ruby commands from the CMD tooltip, however GIT commands only work with GIT Bash. When in GIT Bash Ruby commands do not work.
When you run Heroku commands to create a service, it seems that you want to run certain GIT commands that do not work from the CMD prompt, as I configured it.
, Heroku GIT , , . , - .
, : http://www.wiki.devchix.com/index.php?title=Working_around_the_%22heroku_create%22_error
Git Bash CMD Windows.. , .
, , Heroku Windows CMD, msysgit/bin Path .
Git.
, :
git remote add heroku git @heroku.com: yourappname.git
Heroku:
git
Source: https://habr.com/ru/post/1758116/More articles:Buggy Behavior Using Canvas? - javascriptSoftware Definition of NSSegmentedCell - objective-chash increment value - ruby | fooobar.comChange an existing emacs color theme - emacsInstall ListView adapter with composite PRIMARY KEY in SQLite table - javaRequired Boolean Field? - djangoGet WPF resource from code? - resourcestwitter Search API does not work when server cookies are present - twitterJavaScript prototypes - javascriptМожно ли определить, на каком языке была написана сборка .NET? - .netAll Articles