We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can Foreman take an env var from the cli?
I'm trying in several ways. Nothing seems is picking up.
For example, I need to run Rails (using Foreman) in test mode, to run some tests...
RAILS_ENV=test bundle exec foreman start // starts in develop
RAILS_ENV=test bundle exec foreman start
bundle exec foreman -e test start // bombs
bundle exec foreman -e test start
bundle exec foreman start -e test // bombs
bundle exec foreman start -e test
I've also set up a .env.test with this in it...
.env.test
RAILS_ENV=test
foreman start --env .env.test // starts in develop
foreman start --env .env.test
What is the correct way to do this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Can Foreman take an env var from the cli?
I'm trying in several ways. Nothing seems is picking up.
For example, I need to run Rails (using Foreman) in test mode, to run some tests...
RAILS_ENV=test bundle exec foreman start
// starts in develop
bundle exec foreman -e test start
// bombs
bundle exec foreman start -e test
// bombs
I've also set up a
.env.test
with this in it...foreman start --env .env.test
// starts in develop
What is the correct way to do this?
The text was updated successfully, but these errors were encountered: