I updated to rails 2.1 on my dev machine, freeze rails into vendor,and
upload to my host. however, I now get an error on startup
/../config/../vendor/rails/railties/lib/initializer.rb:181:in
`install_gem_spec_stubs': undefined method `loaded_specs' for
Gem:Module (NoMethodError)
It appears I need rubygems >= 0.9.4
However, I'm on shared hosting and cannot do gem update --system and
the hosting co. isn't being cooperative.
is there a workaround for this? Is it possible to put rubygems in
vendor/ or lib/? I tried it but it's not working. I think it's still
using the old rubygems.
Someone at RailsConf asked about freezing gems into the app, and
Jeremy Kemper said it was possible... but I can't how he said to do
it... something about rake gems:dependencies or something...
I know you have to declare gem dependencies, and then rake:freeze:gems
I think.