jm / rails_upgrade

Plugin to run checks on your Rails 2.x/3.x to check for obvious upgrade points on the path to 3.0
http://omgbloglol.com
MIT License
68 stars 74 forks source link

fork() function is unimplemented on this machine #7

Open alexey opened 14 years ago

alexey commented 14 years ago

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 .. ?

andreaslyngstad commented 13 years ago

I've got the same problem runnig windows 7

andreaslyngstad commented 13 years ago

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

mkolodziej commented 13 years ago

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'

pittore commented 8 years ago

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' ?????