Skip to content

Easy Compass Install

chriseppstein edited this page Sep 13, 2010 · 11 revisions

Easy Compass Install (on Rails)

It’s as easy as 1, 2, 3!

1. Add the following lines to your environment.rb

gem “haml”, :lib => “haml”, :version => “>=2.2.0”
config.gem “chriseppstein-compass”, :source => “http://gems.github.com/”, :lib => “compass”

2. Run rake gems:install
3. Then compass --rails .

Note: If you are migrating an application to a new development machine, you will need to run sudo gem install compass to run rake gems:install because the compass plugin requires the gem compass and rake gems:install loads the environment.

Clone this wiki locally