Trying to run the rails_upgrade plugin and get a fork () error:

I am studying whether I should upgrade from rails 2.3.5 to rails 3, so I installed the update plugin and ran it:

rake rails:upgrade:check 

Received error:

 ** Invoke rails:upgrade:check (first_time) ** Execute rails:upgrade:check rake aborted! fork() function is unimplemented on this machine 
+4
source share
1 answer

I had the same problem. You need to install win32-open3 gem ( gem install win32-open3 ), and then edit this file in your web application:

 vendor\plugins\rails_upgrade\lib\application_checker.rb 

and change:

 require 'open3' 

in

 require 'win32/open3' 
+4
source

All Articles