lib/negroku/deploy.rb in negroku-2.0.0.pre5 vs lib/negroku/deploy.rb in negroku-2.0.0.pre6
- old
+ new
@@ -18,16 +18,15 @@
end
end
# Load Negroku tasks
load_task "negroku"
-load_task "rbenv" if was_required? 'capistrano/rbenv'
-load_task "nodenv" if was_required? 'capistrano/nodenv'
-load_task "bower" if was_required? 'capistrano/bower'
-load_task "bundler" if was_required? 'capistrano/bundler'
-load_task "rails" if was_required? 'capistrano/rails'
-load_task "nginx" if was_required? 'capistrano/nginx'
-load_task "unicorn" if was_required? 'capistrano3/unicorn'
-load_task "delayed_job" if was_required? 'capistrano/delayed-job'
-load_task "whenever" if was_required? 'whenever/capistrano'
-
+load_task "rbenv" if required? 'capistrano/rbenv'
+load_task "nodenv" if required? 'capistrano/nodenv'
+load_task "bower" if required? 'capistrano/bower'
+load_task "bundler" if required? 'capistrano/bundler'
+load_task "rails" if required? 'capistrano/rails'
+load_task "nginx" if required? 'capistrano/nginx'
+load_task "unicorn" if required? 'capistrano3/unicorn'
+load_task "delayed_job" if required? 'capistrano/delayed-job'
+load_task "whenever" if required? 'whenever/capistrano'
load_task "log"