I have just set up compass-rails
in my Rails app and all works fine.
But it is using the default :expanded
output and has debug line comments.
So by googling, I found out that the Compass configuration is placed at config/compass.rb
Here's my config/compass.rb
:
project_type = :rails
project_path = RAILS_ROOT if defined?(RAILS_ROOT)
output_style = :nested
line_comments = false
But the output is still :expanded
and has debug line, I have tried restarting the server many times but it still doesn't detect the config.
Any solution? Maybe the syntax is different?
Thanks