You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Odaeus edited this page Feb 9, 2012
·
25 revisions
Compass-Rails
Using the Compass gem by itself in Rails projects no longer works since version 0.12.rc.0.
There is now a compass-rails gem that should be included in the assets group of your Gemfile.
You can install Compass/Sass into a new or existing rails app using our official rails application template.
for a new application: $ 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
If you have an existing application, and are already using Haml, and don’t want to use the application template (which tries to install Haml for you), you can manually install compass by following these directions