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

Update README to set debug_info flag in Rails 3.2 #11

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ rather than those of the generated CSS.


First, [install FireSass](https://addons.mozilla.org/en-US/firefox/addon/103988). First, [install FireSass](https://addons.mozilla.org/en-US/firefox/addon/103988).
Second, enable Sass's `:debug_info` option. Second, enable Sass's `:debug_info` option.
If you're using Sass with a Ruby web framework, If you're using Sass with a Ruby web framework, depending on the version,
you probably want to do: you probably want to do:


config.sass.debug_info = true

for Rails 3.2, or for earlier versions of Rails

Sass::Plugin.options[:debug_info] = true Sass::Plugin.options[:debug_info] = true



Add this to `config/environment.rb` in Rails, Add this to `config/environment.rb` in Rails,
or `config.ru` in other Ruby frameworks. or `config.ru` in other Ruby frameworks.


Expand Down