diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-29 17:24:44 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-08-29 17:24:44 +0100 |
commit | 2b77e4521787d1024e8e4c710b277e435a3ecd77 (patch) | |
tree | b9867bdb56b75130317f2016176117dc36dcb83e /lib/tasks | |
parent | d801fff4325a42f1bbbb273ac0a4597c32b4dd4b (diff) |
Allow RAILS_ENV to be set in sysvinit-thinhotfix/0.19.1hotfix/0.19.0.2
Install script on AWS uses development mode by default
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/config_files.rake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tasks/config_files.rake b/lib/tasks/config_files.rake index 5dda64a04..1528d7324 100644 --- a/lib/tasks/config_files.rake +++ b/lib/tasks/config_files.rake @@ -32,7 +32,8 @@ namespace :config_files do :user => ENV['DEPLOY_USER'], :vhost_dir => ENV['VHOST_DIR'], :vcspath => ENV.fetch('VCSPATH') { 'alaveteli' }, - :site => ENV.fetch('SITE') { 'foi' } + :site => ENV.fetch('SITE') { 'foi' }, + :rails_env => ENV.fetch('RAILS_ENV') { 'development' } } # Use the filename for the $daemon_name ugly variable |