Your rails_env project does not have the necessary settings, maybe secret_key_base is missing.
Open /etc/nginx/sites-available/default and change rails_env to development:
rails_env production; to rails_env development;
If the application downloads it, this is not a problem with the passenger.
Production Solution:
- Enter the root of the application
- run:
rake secret - copy output
- go to
/yourapp/config/secrets.yml - set
secret_key_base
Restart the passenger app:
touch /yourapp/tmp/restart.txt
Yaniv Vova Alterman Mar 25 '15 at 15:15 2015-03-25 15:15
source share