If you look at the paths of the files in the error you're getting, it looks like Rails 1.0 is still being loaded. Did you freeze the gems from your own machine? It might be worth double-checking which version of Rails you have frozen into your /vendor/rails directory...
- james On 4/21/06, Justin Chen <[EMAIL PROTECTED]> wrote: > Hi, > > I've installed engines from > http://svn.rails-engines.org/plugins/engines and I'm > currently running rails 1.1.2 (ruby 1.8.4 , mac os 10.4.6). It all seems to > work fine like this, but when I try to do a "rake rails:freeze:gems" (so > that I can use it on my shared host which only has 1.0) and try to run from > "vendor/rails" I get problems. I can start up webrick with script/server > but when I try to hit a page I get the following error: > > #<NoMethodError: undefined method `clear!' for Controllers:Module> > ["/usr/local/lib/ruby/gems/1.8 > /gems/rails-1.0.0/lib/dispatcher.rb:53:in `reset_application!'", > "/usr/local/lib/ruby/gems/1.8/gems/rails- > 1.0.0/lib/dispatcher.rb:75:in `reset_after_dispatch'", > "/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:46:in > `dispatch'", > "/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in > `handle_dispatch'", > "/usr/local/lib/ruby/gems/1.8/gems/rails- > 1.0.0/lib/webrick_server.rb:83:in `service'", > "/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in > `service'", > "/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in > `run'", "/usr/local/lib/ruby/1.8/webrick/server.rb:173:in > `start_thread'", > "/usr/local/lib/ruby/1.8/webrick/server.rb:162:in > `start_thread'", > "/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'", > "/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'", > "/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'", > "/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'", > "/usr/local/lib/ruby/gems/1.8/gems/rails- > 1.0.0/lib/webrick_server.rb:69:in `dispatch'", > "./script/../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:59", > "/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'", > "./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in > `require'", > "./script/../config/../vendor/rails/railties/lib/commands/server.rb:30", > "script/server:3"] > [2006-04-21 17:22:47] ERROR `/' not found. > > If i remove the "engines" plugin, the server seems to work fine again so I'm > pretty sure it's something with "engines". I also tried the "edge=> true" > config that's documented on the website, but that doesnt help either. > > Any thoughts? > > Thanks, > Justin > > _______________________________________________ > engine-users mailing list > [email protected] > http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org > > > -- * J * ~ _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
