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