After upgrading to Ubuntu 11.10 from 11.04 my Rails application does
not
start properly
$ script/server
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/
dependencies.rb:55:
uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:inrequire’
from /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support.rb:
56
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:inrequire’
from /var/lib/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:1
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:inrequire’
from script/server:3
After upgrading to Ubuntu 11.10 from 11.04 my Rails application does
not
start properly
Are you using rvm to control versions of everything? If not then I
suspect the upgrade to 11.10 has updated some stuff from the
repositories and you now have inconsistent versions. Googling for
your error message suggests that. You might be best to start using
rvm and then you will know you have a consistent set. Since I moved
over to it life has been much easier.