lib/negroku/deploy.rb in negroku-1.1.3 vs lib/negroku/deploy.rb in negroku-1.1.4
- old
+ new
@@ -15,11 +15,11 @@
# Default environment
set :rails_env, 'production' unless respond_to?(:rails_env)
## Default path
set :default_environment, {
- 'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH"
+ 'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$HOME/.nodenv/shims:$HOME/.nodenv/bin:$PATH"
}
# Run on Linux: `$ ssh-add` or on OSX: `$ ssh-add -K` for "forward_agent".
ssh_options[:forward_agent] = true
ssh_options[:port] = 22
@@ -32,7 +32,8 @@
##
# Load Deployment Tasks
load_tasks('base')
load_tasks('log')
load_tasks('rbenv')
+load_tasks('bower')
load_tasks('nginx')
load_tasks('unicorn')