Created
April 21, 2010 16:55
-
-
Save lgs/374090 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---------------------------------------------------------------------------- | |
# Compass | |
#---------------------------------------------------------------------------- | |
file 'config/compass.rb', <<-CODE | |
# 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/" | |
sass_dir = "app/stylesheets" | |
images_dir = "public/images" | |
javascripts_dir = "public/javascripts" | |
# To enable relative paths to assets via compass helper functions. Uncomment: | |
# relative_assets = true | |
http_images_path = "/images" | |
http_stylesheets_path = "/stylesheets" | |
http_javascripts_path = "/javascripts" | |
output_style = :compact | |
CODE | |
file 'config/initializers/compass.rb', <<-CODE | |
require 'compass' | |
# If you have any compass plugins, require them here. | |
Compass.configuration.parse(File.join(RAILS_ROOT, "config", "compass.config")) | |
Compass.configuration.environment = RAILS_ENV.to_sym | |
Compass.configure_sass_plugin! | |
CODE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment