Skip to content

Instantly share code, notes, and snippets.

@vwall
Created October 3, 2011 23:27
Show Gist options
  • Select an option

  • Save vwall/1260534 to your computer and use it in GitHub Desktop.

Select an option

Save vwall/1260534 to your computer and use it in GitHub Desktop.
How to setup Compass Twitter Bootstrap
# This configuration file works with both the Compass command line tool and within Rails.
# Require any additional compass plugins here.
require 'compass/util'
require 'compass/browser_support'
require 'compass/sass_extensions'
require 'compass/version'
require 'compass/errors'
require 'compass_twitter_bootstrap'
project_type = :rails
project_path = Compass::AppIntegration::Rails.root
# 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
# 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
environment = :production
line_comments = false
output_style = :compressed
group :assets do
gem 'sass-rails', ">= 3.1"
gem 'coffee-rails', ">= 3.1"
gem 'uglifier'
gem "compass", ">= 0.12.alpha.0"
gem 'compass_twitter_bootstrap'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment