Permalink
Browse files

Update README to properly set debug_info flag in Rails 3.2.

  • Loading branch information...
1 parent 56dc872 commit fc12de2de9f037c69f0d916e4c3d98c6d90d0feb @jonathanpberger committed Apr 1, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 README.md
View
@@ -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.

0 comments on commit fc12de2

Please sign in to comment.