views:

16

answers:

1

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

rake rails:upgrade:check

Got an error:

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

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

vendor\plugins\rails_upgrade\lib\application_checker.rb

and change:

require 'open3'

to:

require 'win32/open3'
Matt
thanks, will check it out -- prolly save my life if this works.
Angela