This project is archived and is in readonly mode.
Failed to start a rails application
Reported by Hemant Patel | March 8th, 2010 @ 10:48 AM
rails server fails to start the application
=> Booting WEBrick => Rails 3.0.0.beta1 application
starting in development on http://0.0.0.0:3000 => Call with -d to
detach => Ctrl-C to shutdown server Exiting
/home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/railtie/configuration.rb:86:in
method_missing': undefined local variable or
method
metals' for
#<Rails::Engine::Configuration:0x00000015081de8>
(NameError)
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/railtie/configuration.rb:121:in `block (2 levels) in default_middleware'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/middleware/stack.rb:35:in `call'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/middleware/stack.rb:35:in `klass'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/middleware/stack.rb:61:in `=='
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/activerecord/lib/active_record/railtie.rb:65:in `include?'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/activerecord/lib/active_record/railtie.rb:65:in `block in <class:Railtie>'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/initializable.rb:25:in `instance_exec'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/initializable.rb:25:in `run'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/initializable.rb:54:in `each'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/initializable.rb:54:in `run_initializers'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/application.rb:70:in `initialize!'
from /home/hemant/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/application.rb:44:in `method_missing'
from /home/hemant/code/kashmin/config/environment.rb:5:in `<top (required
Comments and changes to this ticket
-
Stephan Kaag March 8th, 2010 @ 04:35 PM
And this commit might be the cause: http://github.com/rails/rails/commit/29158d4158e9ae800c5be31a796940...
-
Stephan Kaag March 8th, 2010 @ 05:44 PM
Hemant: do you use warden/devise in your application? That might be the underlying issue. Devise is currently not compatible with edge Rails.
-
Hemant Patel March 8th, 2010 @ 07:43 PM
sorry guys i should i have investigated more before posting this ticket. Yes Devise is the cause of failure of starting up the application there on edge.
-
Jeremy Kemper March 8th, 2010 @ 09:46 PM
- State changed from new to invalid
-
jack dempsey (jackdempsey) March 10th, 2010 @ 05:05 AM
I had the same Hemant as I was bundling to rails source. Making this change in my Gemfile fixed things right up:
gem 'rails', '3.0.0.beta'
Devise seems to be working just fine with that release.
HTH
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>