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:in `const_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:in `session_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:in `initialize_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:in `process'         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:in `require'         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:in `require'         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:in `require'         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