Skip to content

Instantly share code, notes, and snippets.

@simonoff
Created April 28, 2011 21:29
Show Gist options
  • Save simonoff/947391 to your computer and use it in GitHub Desktop.
Save simonoff/947391 to your computer and use it in GitHub Desktop.
desc "Make new jammit assets path based on commit hash"
task :jammit do
run "cd #{current_path}; bundle exec jammit"
run "cd #{current_path}; bundle exec jammit-s3"
end
before "deploy:restart", "deploy:jammit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment