Ruby’s fork() function isn’t “unimplemented” on windows, fork() is an
function provided by the OS on Unix and Unix-like OS’es (e.g. Linux,
OS X, etc, etc.)
In the end, I just made a new rails 3 application and did a lot of
code transfer (copy/paste). It actually didn’t take that long, and
things are great with the app in Rails 3.
Note that the “win32-open3 requires Ruby version < 1.9.0” So I used pik
to downgrade to Ruby version 1.8.7, so I could use win32-open3, and then
I was able to run the rails_upgrade plugin. Then I plan to upgrade my
app using 1.8.7, make sure that works, and get that checked into version
control. Once that’s done I’ll use pik to go back up to 1.9.* and make
sure it still works.
Don’t forget to add
gem "win32-open3"
to your Gemfile, at least until you get the rails upgrade done (no need
to check that into version control unless you are also checking in the
rails upgrade plugin, which you probably won’t).
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.