Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`load_missing_constant': uninitialized constant Sass (NameError) #2

Closed
snoblenet opened this issue May 18, 2010 · 2 comments
Closed

Comments

@snoblenet
Copy link

I am using the latest versions of SASS, HAML, Compass, Susy and Firesass.

I've added the following to config/environment.rb in my Rails 2.x app:

 <snip>
 Rails::Initializer.run do |config|
 <snip>
 config.gem "haml"
 config.gem "sass"
 Sass::Plugin.options[:debug_info] = true
 <snip>

When I try to start the server at localhost, I get the following error:

  /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:443:in `load_missing_constant': uninitialized constant Sass (NameError)
@snoblenet
Copy link
Author

Sorry, I've just worked out I don't have to go near environment.rb (though the documentation is a bit ambiguous in this regards). I just have to pass debug_info to Sass on-the-fly when telling Compass to compile my stylesheets.

@nex3
Copy link
Owner

nex3 commented May 18, 2010

I'm re-opening this as a reminder to myself to fix the documentation.

@nex3 nex3 closed this as completed Nov 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants