Rails not loading properly when gems are frozen

I have a app that works fine with Rails 1.1.6 with unfrozen gems. But
when I freeze them, I get a bunch of errors about uninitialized
constants. I also tried just creating the vendor/rails directory
manually, and getting the 1.1.6 release from SVN and putting it in
there. Same result. What could be the problem?

euterpe:~/Documents/Parallels/Shared Folders/Nexus jon$ script/server
=> Booting WEBrick…
./script/…/config/…/vendor/rails/activesupport/lib/active_support/
dependencies.rb:123:in const_missing': uninitialized constant ActiveRecordStore (NameError) from ./script/../config/../vendor/rails/activesupport/lib/ active_support/dependencies.rb:131:inconst_missing’
from ./script/…/config/…/vendor/rails/activesupport/lib/
active_support/dependencies.rb:133:in const_missing' from ./script/../config/../vendor/rails/actionpack/lib/ action_controller/session_management.rb:25:insession_store=’
from ./script/…/config/…/vendor/rails/railties/lib/
initializer.rb:280:in initialize_framework_settings' from ./script/../config/../vendor/rails/railties/lib/ initializer.rb:279:ininitialize_framework_settings’
from ./script/…/config/…/vendor/rails/railties/lib/
initializer.rb:276:in initialize_framework_settings' from ./script/../config/../vendor/rails/railties/lib/ initializer.rb:93:inprocess’
from ./script/…/config/…/vendor/rails/railties/lib/
initializer.rb:42:in run' from ./script/../config/../config/environment.rb:13 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:inrequire’
from ./script/…/config/…/vendor/rails/activesupport/lib/
active_support/dependencies.rb:147:in require' from ./script/../config/../vendor/rails/railties/lib/commands/ servers/webrick.rb:52 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:inrequire’
from ./script/…/config/…/vendor/rails/activesupport/lib/
active_support/dependencies.rb:147:in require' from ./script/../config/../vendor/rails/railties/lib/commands/ server.rb:30 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:inrequire’
from script/server:3

euterpe:~/Documents/Parallels/Shared Folders/Nexus jon$ script/
console
Loading development environment.
./script/…/config/…/config/environment.rb:43:NameError:
uninitialized constant ActionMailer
./script/…/config/…/config/…/vendor/rails/actionpack/lib/
action_controller/integration.rb:15:NameError: uninitialized constant
ActionController::Integration::Session::Test
./script/…/config/…/config/…/app/controllers/application.rb:
3:NameError: uninitialized constant ActionController::Base

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs