Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I run a Rails 1.2.5 application on ruby 1.9?

I have a old app made on rails 1.2.5, this application have alot of access per day.

I intend to upgrade my server (a joyent accelerator) to run ruby 1.9.x and work with rails 3 but I can't stop or move this app to another server.

Have any way to run this application on ruby 1.9? or run two ruby versions (1.8.7 and 1.9) at the same time? or on the last case upgrade my app to work with rails 3?

Thanks.

like image 553
GodFather Avatar asked Dec 20 '25 17:12

GodFather


1 Answers

There was quite a few patches to Rails to make it run under Ruby 1.9. I think you are up for a challenge if you try to do that. With Ruby Version Manager you can work with multiple ruby environments from interpreters to sets of gems.

like image 66
Jonas Elfström Avatar answered Dec 22 '25 09:12

Jonas Elfström



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!