lib/negroku/deploy.rb in negroku-0.0.6 vs lib/negroku/deploy.rb in negroku-0.0.7
- old
+ new
@@ -9,9 +9,12 @@
##
# Default Configuration
set :remote, 'origin' unless respond_to?(:remote)
set :branch, 'master' unless respond_to?(:branch)
+# Default environment
+set :rails_env, 'production' unless respond_to?(:rails_env)
+
## Default path
set :default_environment, {
'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH"
}