Update ruby โ€‹โ€‹projects from 1.8.6 to 1.8.7

What steps should be taken to upgrade a Ruby project from 1.8.6 to 1.8.7?

+4
ruby
source share
4 answers

It should be basically seamless, since these were basically compatible changes in the api.

However, check the incompatibility list

If you start using the new methods proposed in 1.8.7 (or newer!), But would like to remain compatible with 1.8.6, check out my backports gem .

+6
source share

There is only the add method in ruby โ€‹โ€‹1.8.7 compared to ruby โ€‹โ€‹1.8.6. Therefore, if it works with 1.8.6, it also works in Ruby 1.8.7.

But if you're an excellent test suite, run it and see if everything works.

+3
source share

This is a point release. You do not have to do anything.

+1
source share

Hey, read this http://casperfabricius.com/site/2010/01/24/multiple-ruby-versions-with-rvm/

You will install and configure Ruby Version Manager, which allows you to easily switch between different versions of ruby โ€‹โ€‹on linux (and Mac, I think) - if you are on windows, then use this, it is called pik http://github.com/vertiginous / pik /

+1
source share

All Articles