I have developed a small RoR app(ruby 1.8.6, rails 2.1.0, rubygem 0.9.4) a few years ago and I have not worked on RoR since.
Now, for some reasons, I need to move this RoR app(running on 2003 server currently) to new box which is windows 2008 server.
I copied the old RoR app in my local machine(windows 7) and I downloaded all the latest(using rails installer) in my local machine(windows 7) and tried to run the app, but I ran into all kinds of issues. I couldn’t even start Mongrel server.
I realized that running an old RoR app with latest RoR related versions is nightmare.
I even tried RadRails IDE and set installed interpreters for Ruby, but when I tried to start server, nothing happened…even nothing appears in the console.(both WEBrick and Mongrel)
My question is that what is the best/trouble-free way of moving an old RoR web to the new box?
Is it possible to copy all RoR related installations from the old box to new box and copy the app directory and run it from the new box?
It can’t be this much trouble…
Thanks for your comment.
I followed your instruction and it looks like I have pretty much everything installed in the old ruby/bin directory luckily.
I didn’t have to run rake gems:unpack command and I just copied ruby dir, the application directory, oracle client and set and set everything in windows environment path and it worked with some config files changes.