You’re not receiving notifications from this thread.
Capistrano, puma staging env keeps using production secrets
When we run
bundler exec cap staging deploy the application is still trying to pulling secrets for Production and not Staging. How can we debug this process to find why the application is pulling production secrets instead of staging secrets?
Slight back story. Our team has had a Ruby project given to us to support. We're new to Ruby, so we've been thrown in at the deep end.
The project in question is running:
When given the project there was only a production and a development environment. The client wanted a staging environment as well. So we created additional blocks in the
Then we created
Have you set
RAILS_ENV=staging on the server so it knows to run the staging env in production?