I’d like to know if do you consider safe upgrading all our programs to
ruby 2.0. By now it’s considered ‘stable’ and I’d like to keep up with
‘current development’ in order to avoid
issues that may arise from lagging too much behind. But do you or know
if there are gem issues with ruby 2.0? Some gems might need to get
upgraded, some are active other not…
What’s your opinion on this and which version do you use for
production/test development?
I use nokogiri in one of my scripts, but I don’t run windows so, thanks
for the heads up. Since there are no known major issues I think I can
move my (rvm) default to 2.0 and keep 1.9.3 around just in case.
I’ve been running ruby 2.0 (p0 first, and now the new patch release) on
linux (intel laptop and raspberry pi) and Mac OS X, without any
problems.
Barring a few incompatibilities with 1.9 (UTF-8 as default encoding
probably the biggest one), it shouldn’t be a problem. (See Ruby 2.0.0-p0 is released
about this.)
… and of course, you have to check any gems or other external
libraries you’re dependent of, to make sure that they have been updated
for 2.0 (if necessary).