Ruby on Rails Monday, September 8, 2014

Hey Daniel,

As you've discovered, you'd have a fair amount of work to do to get the application to the latest version of Rails.

If you're fine running totally old, crappy stuff (:D), then try the following:
  1. On the old box, use rake gems:unpack
  2. Copy the application directory to the new server
  3. Get Ruby 1.8.7 for Windows (it's unsupported by mainline, but rubyinstaller.org still seems to have a package)
  4. See if you can get the app working with WEBRICK
  5. If you can get it working with WEBRICK, then try Mongrel...

I'm interested to see how you go!

Timothy.


On 8 September 2014 18:56, kimda <tkkscf@gmail.com> wrote:
Hi,

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 in advance
Daniel

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/980db200-b356-48fa-ad05-cb3eb864ba05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CABLJ1D%2BeURpQAYLoTnzOeDFw0%2BQLLFgYKHqeqcujCfD59hZYSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment