Skip to content

Instantly share code, notes, and snippets.

@simeonwillbanks
Created June 28, 2013 15:14
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 simeonwillbanks/5885432 to your computer and use it in GitHub Desktop.
Save simeonwillbanks/5885432 to your computer and use it in GitHub Desktop.
#capistrano deploy #bower installed assets #devops #asset_pipeline
namespace :deploy do
namespace :assets do
desc 'install asset dependencies'
task :install, roles: [:assets] do
run "cd #{latest_release} && bower install --no-color"
end
end
end
before 'deploy:assets:precompile', 'deploy:assets:install'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment