开发者

Upgrade ruby projects from 1.8.6 to 1.8.7

开发者 https://www.devze.com 2022-12-25 15:56 出处:网络
What steps should I f开发者_StackOverflow社区ollow to upgrade a Ruby project from 1.8.6 to 1.8.7?It should be mostly seamless, since it was mostly compatible changes to the api.

What steps should I f开发者_StackOverflow社区ollow to upgrade a Ruby project from 1.8.6 to 1.8.7?


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.


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.


It's a point release. You shouldn't have to do anything.


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

it takes you through the installation and setup of Ruby Version Manager - which makes it really easy to switch between different versions of ruby in linux (and mac I think) - if you are on windows, then use this, it's called pik http://github.com/vertiginous/pik/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号