Commit d1cf5776 by Jon Yurek

Merge pull request #1769 from urbas/readme-capistrano-task

Updated the `build missing styles` Capistrano task
parents afbb3af3 5961ae7a
......@@ -795,7 +795,11 @@ namespace :deploy do
desc "build missing paperclip styles"
task :build_missing_paperclip_styles do
on roles(:app) do
execute "cd #{current_path}; RAILS_ENV=production bundle exec rake paperclip:refresh:missing_styles"
within release_path do
with rails_env: fetch(:rails_env) do
execute :rake, "paperclip:refresh:missing_styles"
end
end
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment