I have a production server with nginx and ruby 1.9.3p125 (2012-02-16 revision 34643)
.
I have taken a look to http://www.ruby-lang.org/en/news/2012/11/09/ruby-1-9-3-p327-is-released/ and I want upgrade to ruby-1-9-3-p327
to fix security bugs.
Where can I find a manual or tutorial to upgrade ruby version and my rvm version?
Thank you
First upgrade RVM:
rvm get stable
Then upgrade installed Ruby:
rvm upgrade ruby-1.9.3-p125 ruby-1.9.3-p327
https://rvm.io/rubies/upgrading/
If your app cannot suffer any downtime, it is wise to duplicate your production environment locally, performing the upgrade through rvm as NARKOZ points out and then running your tests to ensure everything still works as expected.
You can use something like VirtualBox to keep the clone separate from your dev environment.
Once you're confident everything works, then do the upgrade. I'd even recommend taking a snapshot backup of your server before proceeding.
Good Luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With