lib/negroku/deploy.rb in negroku-0.0.2 vs lib/negroku/deploy.rb in negroku-0.0.3
- old
+ new
@@ -19,9 +19,13 @@
# Run on Linux: `$ ssh-add` or on OSX: `$ ssh-add -K` for "forward_agent".
ssh_options[:forward_agent] = true
ssh_options[:port] = 22
default_run_options[:pty] = true
+# Use the bundler capistrano task to deploy to the shared folder
+require "bundler/capistrano"
+set :bundle_flags, "--deployment --binstubs"
+
##
# Load Deployment Tasks
load_tasks('base')
load_tasks('log')
load_tasks('rbenv')
\ No newline at end of file