Hero Hero Tool Does Not Work in Windows XP

I downloaded the latest dashboard for Windows; however, when I try to run any heroku command from DOS, I get:

c: / Program Files / Heroku / lib / heroku / updater.rb: 126: in fork': fork() function is unimplemented on this machine (NotImplementedError) from c:/Program Files/Heroku/lib/heroku/updater.rb:126:in background_update! 'from c: / Program Files / Heroku / lib / heroku / updater.rb: 111: in inject_libpath' from c:/Program Files/Heroku/bin/heroku:19:in '

My goal is to deploy Play! application on the hero. I am using Windows XP SP3. Anyone who enlightens me because my head hurts.

+4
source share
4 answers

I ran into the same problem. My solution was to comment on the fork call.

Go to the Heroku installation directory and find the updater.rb file in the lib\heroku .

The output of lines 126 (should be pid = fork do ), 143 ( end ) and 144 ( Process.detach.pid ).

That should do the trick.

+4
source

In your home directory (ie C:/Users/xxx/.heroku/autoupdate.last ) create a file called "autoupdate.last".

See updater.rb:

 File.join(Heroku::Helpers.home_directory, ".heroku", "autoupdate.last") 
+1
source

I have an employee in Windows 7 who has had this problem. He accidentally installed ruby ​​1.8.7. This error occurs when you use ruby ​​1.8.7 with the current version of the Heroku Toolbelt (2.32.9 on this entry). Heroku Toolbelt seems to prefer Ruby 1.9.x. You can run gem install heroku and the error goes away, but you get warnings that the heroku gem is out of date, which means it will probably skip the current functions. Update Ruby 1.9.x if you can. Although in some cases, editing ruby ​​files should be the last resort, in my opinion.

+1
source

I am not sure which of these fixed problems, but one or both of them: 1. Deselect the "hidden" users / [user] /. Heroku ". 2. Deselect the read option for the folder only.

0
source

All Articles