Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade ruby projects from 1.8.6 to 1.8.7

Tags:

ruby

What steps should I follow to upgrade a Ruby project from 1.8.6 to 1.8.7?

like image 850
Andrey Kuznetsov Avatar asked Dec 22 '22 04:12

Andrey Kuznetsov


2 Answers

It should be mostly seamless, since it was mostly compatible changes to the api.

Still, check out the list of incompatibilities

If you start using the new methods offered by 1.8.7 (or newer!) but would like to remain compatible with 1.8.6, checkout my backports gem.

like image 151
Marc-André Lafortune Avatar answered Jan 07 '23 14:01

Marc-André Lafortune


There are just method add in ruby 1.8.7 in compare to ruby 1.8.6. So if it's works with 1.8.6 it's works in ruby 1.8.7 too.

But if you are a great test suite, launch it and see if all works.

like image 42
shingara Avatar answered Jan 07 '23 15:01

shingara