capistrano deploy: sass should be executed under bundle exec

This commit is contained in:
Alessio Caiazza 2012-02-04 12:12:10 +01:00
parent 3b0bf89335
commit 23212e4146

View file

@ -41,7 +41,7 @@ namespace :deploy do
end
task :bundle_static_assets do
run "cd #{current_path} && sass --update public/stylesheets/sass:public/stylesheets"
run "cd #{current_path} && bundle exec sass --update public/stylesheets/sass:public/stylesheets"
run "cd #{current_path} && bundle exec jammit"
end