Note that there are some explanatory texts on larger screens.

plurals
  1. POconfigurable.rb:30:in `method_missing': undefined method `development' for rails app
    primarykey
    data
    text
    <p>I'm new to rails running Ruby 1.9.2 on an OSX machine and at when I moved to using Thin I get the following error (it's worth mentioning that i've used the gemset on a completely new rails app and it works so I know its something to do with the code or configuration i've written</p> <p>In terms of the gems I have installed:</p> <pre><code>gem 'rails', '3.2.3' # Bundle edge Rails instead: # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git' gem 'thin' gem 'pg' gem 'tire' gem 'newrelic_rpm' gem 'devise' </code></pre> <p>This is the error that I get when running 'rails c'</p> <pre><code>/Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing': undefined method `development' for #&lt;My::Application:0x007fa4fd937fe8&gt; (NoMethodError) from /Users/me/Dropbox/2_Development/rails_projects/my/config/environments/development.rb:9:in `block in &lt;top (required)&gt;' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:24:in `class_eval' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:24:in `configure' from /Users/me/Dropbox/2_Development/rails_projects/my/config/environments/development.rb:1:in `&lt;top (required)&gt;' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/engine.rb:571:in `block in &lt;class:Engine&gt;' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `instance_exec' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `run' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/initializable.rb:55:in `block in run_initializers' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `each' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `run_initializers' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/application.rb:136:in `initialize!' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing' from /Users/me/Dropbox/2_Development/rails_projects/my/config/environment.rb:5:in `&lt;top (required)&gt;' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/application.rb:103:in `require_environment!' from /Users/me/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.3/lib/rails/commands.rb:40:in `&lt;top (required)&gt;' from script/rails:6:in `require' from script/rails:6:in `&lt;main&gt;' </code></pre> <p>Please help... it's driving me nuts... or point me to how to debug the problem myself</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload