strtwtsn / PPE_Web

0 stars 1 forks source link

Rails ENV #5

Open adammulligan opened 11 years ago

adammulligan commented 11 years ago

https://github.com/strtwtsn/PPE_Web/blob/master/cookbooks/nginx/templates/default/ppe.erb#L8

The rails_env configured in nginx for passenger will need to be changed depending on the box we're configuring. I'm not sure how best to do this, so I've not got a pull request for you unfortunately. Any ideas?

strtwtsn commented 11 years ago

We could change it so that Capistrano does the nginx configuration, and specify the rails_env in the deploy/staging.rb or deploy/production.rb files.