rails_upgrade icon indicating copy to clipboard operation
rails_upgrade copied to clipboard

fork() function is unimplemented on this machine

Open alexey opened this issue 14 years ago • 4 comments

ruby 1.8.7p302 rails 2.3.5 rails 3.0.0

application is on 2.3.5, installed plugin, running: rake rails:upgrade:check --trace rake aborted! fork() function is unimplemented on this machine C:/Ruby187/lib/ruby/1.8/open3.rb:57:in `fork'

seems to not work on windows .. ?

alexey avatar Sep 20 '10 07:09 alexey

I've got the same problem runnig windows 7

andreaslyngstad avatar Oct 12 '10 21:10 andreaslyngstad

I've tried to install win32-open3, but it did not work. Ended up upgrading on snow lepard runing in vmware.

andreaslyngstad avatar Oct 23 '10 19:10 andreaslyngstad

If you installed the gem then you need to edit vendor\plugins\rails_upgrade\lib\application_checker.rb and change: require 'open3' to require 'win32/open3'

mkolodziej avatar Oct 27 '10 18:10 mkolodziej

All I have in my vendor folder is an assets folder containing javascript and stylesheet files. So where can I put this require 'win32/open3' ?????

pittore avatar Apr 04 '16 00:04 pittore