incompatability – PullMonkey Blog http://pullmonkey.com Wed, 30 May 2012 15:35:39 +0000 en-US hourly 1 https://wordpress.org/?v=5.6 Rubygem version incompatability with older Rails versions http://pullmonkey.com/2012/05/30/rubygem-version-incompatability-with-older-rails-versions/ Wed, 30 May 2012 15:35:39 +0000 http://pullmonkey.com/?p=57701 We maintain a rails 2.3.8 application and haven't had to touch it in quite some time. But when we did, we came across this error:

uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)

Then after applying the solution found here, we started getting this error:

undefined method `name' for "actionmailer":String (NoMethodError)

Both errors were resolved by using RVM to specify the rubygem version best suited for this application.

rvm rubygems 1.3.7

So our .rvmrc file now looks like this:

rvm use @
rvm rubygems 1.3.7
]]>