lib/caploy/recipes/defaults.rb in caploy-0.1.12 vs lib/caploy/recipes/defaults.rb in caploy-0.2.0
- old
+ new
@@ -46,10 +46,10 @@
run "cd #{release_path} && echo \"#{branch}\" > RELEASE_TEST" if branch == 'master' and ENV['RELEASE_TEST']
end
desc "build missing paperclip styles"
task :build_missing_paperclip_styles, :roles => :app do
- run "cd #{current_path}; RAILS_ENV=#{rails_env} bundle exec rake paperclip:refresh:missing_styles"
+ run "cd #{current_path}; RAILS_ENV=#{rails_env} #{rake} paperclip:refresh:missing_styles"
end
desc 'Show deployed revision'
task :revision, :roles => :app do
run "cat #{current_path}/REVISION"