Ruby on Rails Tuesday, September 16, 2014

Hey Daniel,

Glad to hear you got it working! Sounds like it wasn't so bad in the end. Ruby on Windows is always...interesting!

Thanks,
Timothy.

On 17 September 2014 08:15, kimda <tkkscf@gmail.com> wrote:
Hi Timothy,

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.

thanks,
Daniel

On Monday, September 8, 2014 4:43:14 AM UTC-5, Timothy Mukaibo wrote:
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 <tkk...@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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@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/41f00294-164e-4774-907c-4d426ade81e9%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/CABLJ1DJG_CiQNT_tx3%3DHVNM7ys9tyXHcBaY3dTif0BK0GhwCWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hi Timothy,

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.

thanks,
Daniel

On Monday, September 8, 2014 4:43:14 AM UTC-5, Timothy Mukaibo wrote:
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 <tkk...@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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@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/41f00294-164e-4774-907c-4d426ade81e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hello,

Thank you very much everybody, this was as simple as you told: parse
error in player.rb.

I wasn't looking in the good direction at all and was confused by the
fact it was thrown while accessing the attribute (and then initializing
the class).

--
Posted via http://www.ruby-forum.com/.

--
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/8dbe0c469ffb034234e4ee654cfda825%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.