Skip to content

Ruby on Rails Integration

packetmonkey edited this page Sep 13, 2010 · 25 revisions

Rails 2.3 Users:

You can install Compass/Sass into a new or existing rails app using our official rails application template:
$ rails <myrailsappnamehere> -m http://compass-style.org/rails/installer

for existing application, use the application template rake task:
$ rake rails:template LOCATION=http://compass-style.org/rails/installer

You can also set the environment variable NO_SUDO to true to disable sudo usage in the script
$ rake rails:template LOCATION=http://compass-style.org/rails/installer NO_SUDO=true

Screencast!

Having issues? Watch this quick screencast on how to set everything up:

Rails Pre-2.3:

Please follow the instructions found at Compass Sample Rails Application

Clone this wiki locally