-
-
Save alanhogan/1179939 to your computer and use it in GitHub Desktop.
/Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/railtie/configuration.rb:78:in `method_missing': undefined method `sass' for #<Rails::Application::Configuration:0x000001033b6d58> (NoMethodError) | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/bundler/gems/compass-22e2458b7751/lib/compass/configuration/helpers.rb:82:in `block in configure_rails!' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/bundler/gems/compass-22e2458b7751/lib/compass/configuration/helpers.rb:81:in `each' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/bundler/gems/compass-22e2458b7751/lib/compass/configuration/helpers.rb:81:in `configure_rails!' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/bundler/gems/compass-22e2458b7751/lib/compass/app_integration/rails/actionpack31/railtie.rb:86:in `block in <class:Railtie>' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/initializable.rb:25:in `instance_exec' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/initializable.rb:25:in `run' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/initializable.rb:50:in `block in run_initializers' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/initializable.rb:49:in `each' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/initializable.rb:49:in `run_initializers' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/application.rb:92:in `initialize!' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/railtie/configurable.rb:30:in `method_missing' | |
from /Users/my_username/MyApp/MyApp/config/environment.rb:5:in `<top (required)>' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc8/lib/active_support/dependencies.rb:240:in `require' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc8/lib/active_support/dependencies.rb:240:in `block in require' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc8/lib/active_support/dependencies.rb:223:in `block in load_dependency' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc8/lib/active_support/dependencies.rb:640:in `new_constants_in' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc8/lib/active_support/dependencies.rb:223:in `load_dependency' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc8/lib/active_support/dependencies.rb:240:in `require' | |
from /Users/my_username/MyApp/MyApp/config.ru:4:in `block in <main>' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.3.2/lib/rack/builder.rb:51:in `instance_eval' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.3.2/lib/rack/builder.rb:51:in `initialize' | |
from /Users/my_username/MyApp/MyApp/config.ru:1:in `new' | |
from /Users/my_username/MyApp/MyApp/config.ru:1:in `<main>' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.3.2/lib/rack/builder.rb:40:in `eval' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.3.2/lib/rack/builder.rb:40:in `parse_file' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.3.2/lib/rack/server.rb:200:in `app' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/commands/server.rb:46:in `app' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.3.2/lib/rack/server.rb:301:in `wrapped_app' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.3.2/lib/rack/server.rb:252:in `start' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/commands/server.rb:70:in `start' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/commands.rb:54:in `block in <top (required)>' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/commands.rb:49:in `tap' | |
from /Users/my_username/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.rc8/lib/rails/commands.rb:49:in `<top (required)>' | |
from script/rails:6:in `require' | |
from script/rails:6:in `<main>' |
(Also in the group: uglifier and coffee-script)
well if you're not using sass, why are you using compass?
Sorry, @chriseppstein, I am confused. I’m using sass (.scss specifically). In Compass/compass#519 I believe that you said I shouldn't require sass-rails and perhaps I misunderstood. Maybe you were saying I ought to include sass
instead of sass-rails
?
No I said that it appears that it is not required and asked you to verify whether it is being required or not. Since taking it out would be the same as it not being required, it seems like it probably was being required. So is your app working or not?
Ah, the confusion was between whether it was being required or whether it was a requirement. In effect, polar opposite of your intention. I had been including it the whole time (except as above per my confused interpretation). Apologies for wasting your time.
And yes, everything works now.
whew :)
This occurs when I omit
sass-rails ~> 3.1.0.rc
fromgroup :assets
in mygemfile