I used Jruby version 1.6.5.1 which include Ruby 1.8.7, rails 2.3.12. and gem 1.6.2. How can I upgrade all this versions to higher versions (Jruby 1.7.x, ruby 1.9.x or 2.x and rails 3.x or 4.x)
Thanks in advance.
I used Jruby version 1.6.5.1 which include Ruby 1.8.7, rails 2.3.12. and gem 1.6.2. How can I upgrade all this versions to higher versions (Jruby 1.7.x, ruby 1.9.x or 2.x and rails 3.x or 4.x)
Thanks in advance.
You can use rvm
to manager ruby version
Bellow code lines is use install ruby 1.9.3
on Centos. You can refference it.
curl -L get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
rvm install 1.9.3
rvm use 1.9.3 --default
this will be a multi-step process and largely depends on the gems you're using. it really helps if you happen to have test coverage, otherwise it might get a little painful.
here's shortly what I would do (did some 2.3 upgrades previously) :
*each step assumes running tests or somehow testing out the app is in a working state.