lib/alpha_omega/deploy.rb in alpha_omega-0.0.53 vs lib/alpha_omega/deploy.rb in alpha_omega-0.0.54
- old
+ new
@@ -334,10 +334,10 @@
desc <<-DESC
Apply microwave tvdinners to a release directory.
DESC
task :cook, :roles => :app, :except => { :no_release => true } do
- run "#{ruby_loader} nuke"
+ run "[[ -x bin/nuke ]] && #{ruby_loader} bin/nuke"
end
desc <<-DESC
Compares your application.
DESC