Ruby on Rails Rails 3.1 Just add compass to your Gemfile like so: gem 'compass' Also checkout this gist Rails 3 compass init rails /path/to/myrailsproject Rails 2.3 rake rails:template LOCATION=http://compass-style.org/rails/installer Sinatra require 'compass' require 'sinatra' require 'haml' configure do set :haml, {:format => :html5} set :scss, {:style => :compact, :debug_info => false} Compass.