Why is Rails (with Nginx/Passenger via Ansible) unable to see my RAILS_MASTER_KEY environment variable?
Root cause: environment variables from /etc/environment are not passed to Passenger. The standard method seems to be passenger_env_var in your nginx config as suggested by user joshaidan.