Compass Edge with Rails

4 views
Skip to first unread message

Brandon Mathis

unread,
Nov 2, 2009, 12:45:54 PM11/2/09
to Compass
Compass-edge in standalone is working great. It's not working so well
with rails for me. I started my rails project with the standard
compass gem using the installation method listed in the wiki. I'm now
trying to use the compass-edge and I'm having problems.

Error message:
line_comments

Exception class:
NoMethodError

.../compass-edge-0.9.3/lib/compass/configuration/inheritance.rb 134 in
`method_missing'
.../compass-edge-0.9.3/lib/compass/configuration/adapters.rb 21 in
`to_sass_plugin_options'
.../compass-edge-0.9.3/lib/compass/configuration/helpers.rb 41 in
`sass_plugin_configuration'
.../compass-edge-0.9.3/lib/compass/configuration/helpers.rb 46 in
`configure_sass_plugin!'

Any ideas?

Chris Eppstein

unread,
Nov 2, 2009, 12:57:54 PM11/2/09
to compas...@googlegroups.com
It's a bug -- thanks for reporting it. 

You can work around it by using this instead:

sass_options = {:line_comments => true}

chris

Brandon Mathis

unread,
Nov 2, 2009, 5:14:13 PM11/2/09
to compas...@googlegroups.com
I tried adding that line to compass.config, but it didn't work. Is there some other way I should be "using" sass_options = {:line_comments => true} ?

- Brandon

Chris Eppstein

unread,
Nov 2, 2009, 5:49:08 PM11/2/09
to compas...@googlegroups.com
can you post your config please?

Brandon Mathis

unread,
Nov 2, 2009, 5:52:50 PM11/2/09
to compas...@googlegroups.com
can you post your config please?

# Require any additional compass plugins here.
project_type = :rails
project_path = RAILS_ROOT if defined?(RAILS_ROOT)
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "public/stylesheets/compiled"
sass_dir = "app/stylesheets"
images_dir = "public/images"
javascripts_dir = "public/javascripts"
relative_assets = true
http_images_path = "/images"
http_stylesheets_path = "/stylesheets"
http_javascripts_path = "/javascripts"
sass_options = {:line_comments => true}

- Brandon
Reply all
Reply to author
Forward
0 new messages