How do I specify the environment for the applications to use?
amitsaxena opened this issue · comments
The applications run in development
environment by default, but it will be nice to have the ability to run it in other environments (staging/production
) as well to be able to debug environment specific issues.
I couldn't find anything which does this using puma-dev --help
or in the documentation.
Looks like I figured it out. You can set the RACK_ENV
environment variable to specify the environment for the apps.
PS: Not deleting the issue, hoping it could help someone else trying to do the same.