Skip to content

Instantly share code, notes, and snippets.

@yarinb
Created November 23, 2011 17:15
Show Gist options
  • Save yarinb/1389255 to your computer and use it in GitHub Desktop.
Save yarinb/1389255 to your computer and use it in GitHub Desktop.
compass config in config/compass.rb
# This configuration file works with both the Compass command line tool and within Rails.
# Require any additional compass plugins here.
project_type = :rails
sass_options = {:debug_info => true}
# Set this to the root of your project when deployed:
http_path = "/"
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false
# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass app/stylesheets scss && rm -rf sass && mv scss sass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment