Skip to content

Instantly share code, notes, and snippets.

@linjunpop
Created August 2, 2012 03:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linjunpop/3233044 to your computer and use it in GitHub Desktop.
Save linjunpop/3233044 to your computer and use it in GitHub Desktop.
Rails 2.3 capistrano recipe to compile with compass
namespace :compass do
desc 'Updates stylesheets if necessary from their Sass templates.'
task :compile do
run("cd #{latest_release}; bundle exec compass compile --output-style nested --force -e production")
end
end
before 'deploy:restart', 'compass:compile'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment