Skip to content

Commit

Permalink
Update README to properly set debug_info flag in Rails 3.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpberger committed Apr 1, 2012
1 parent 56dc872 commit fc12de2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
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).
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:

config.sass.debug_info = true

for Rails 3.2, or for earlier versions of Rails

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


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

Expand Down

0 comments on commit fc12de2

Please sign in to comment.