Ruby: "updgrading" code from 1.8.6 to 1.9.2

I am interested in updating the code written in ruby ​​v 1.8.6 to 1.9.2 .
Are there any helpful reading links (perhaps with some warnings and recommendations)?

Just to be clear, so I do not expect any problems right now, but I would like to avoid them.

PS Links like this one basically don't help.

+4
source share
2 answers

Difference slideshow: http://slideshow.rubyforge.org/ruby19.html#11
A few days ago, I moved the application from rubies 1.8.7 to 1.9.3, and no problems happened.
Bu I advise you to test all your code for small errors.

+2
source

Make sure all the gems you depend on are compatible with 1.9.2. isitruby19.com is a good resource for checking this.

In addition, the best strategy is to try to migrate and do some testing. If your application has extensive unit test coverage, this should not be too painful.

+1
source

All Articles