Ruby on Rails updated to 2.1.0
We’ve updated the default version of Ruby on Rails on our servers to version 2.1.0.
If you use Rails and you haven’t explicitly chosen your own version, it’s a good idea to check your applications and make sure there are no problems. But if you’re concerned about compatibility, it’s probably best to freeze Rails anyway so that server upgrades like this can’t affect your application.
If you’re interested in some notes about upgrading to Rails 2, our previous “Rails 2 update coming soon” post has some details.
As part of this upgrade, we also updated Ruby itself to version 1.8.5 (plus Debian security patches), because the ActiveSupport gem in 2.1.0 isn’t compatible with Ruby versions prior to 1.8.4.
(In case anyone’s searching the Internet with the same problem, older Ruby versions are the cause of an error saying “/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/bigdecimal/conversions.rb:18: undefined method `yaml_as’ for ActiveSupport::CoreExtensions::BigDecimal::Conversions:Module”.)