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

I have an old application made on rails 1.2.5, this application has great access per day.

I intend to upgrade my server (joy accelerator) to run ruby ​​1.9.x and work with rails 3, but I can not stop or move this application to another server.

Is there any way to run this application on ruby ​​1.9? or run simultaneously two ruby ​​versions (1.8.7 and 1.9)? or in the latter case, upgrade my rail application 3?

Thank.

+3
source share
3 answers

Rails , Ruby 1.9. , , . Ruby Version Manager work with multiple ruby environments from interpreters to sets of gems.

+1

Rails3 Ruby 1.9? ?

, . ( ) 2-3 ( Rails 1.2.6). ( , //). , .

- . - , , .. , ( , ).

. , , . , , ? . . , ( ). ( ): , , , , . 3 - .

, , , ?

+1
  • Rails 3 Ruby 1.8.7
  • ( RVM) - Ruby 1.8.7 Rails 1.x JRuby Rails 3.0 jruby -S gem install rails. Ruby JRuby - . OpenSolaris Joyent Accelerator Java, .

P.S. , Rails 1.x 3.x, . , .

0

Source: https://habr.com/ru/post/1765119/


All Articles