question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

---env option is not working

See original GitHub issue

I can succcessfully set the environment by using the -e option, but the ---env option is not working:

example:

$ db-migrate up ---env="myEnv"
[ERROR] Error: Environment(s) 'dev, development' not found.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
toymachiner62commented, Feb 12, 2015

Doh!. If you look closer at the error i posted, I had used 3 dashes instead of two. User error.

0reactions
toymachiner62commented, Feb 11, 2015

I’ll get some more specifics on this and get back to you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[FIX] System Could not Find Environment Option that was ...
Method 1: Add a New Environment Variable in Safe Mode · Restart your system and press F4 when you see the start-up logo...
Read more >
Problems with Environment Variables
To check which environment variables are set, do the following (works for all versions of Windows): Open a DOS box (or a Command...
Read more >
pm2 --update-env option seems not working - node.js
So, I just tried pm2 delete 0 , pm2 start ecosystem.config.js then It's working well. Why does --update-env options not working? What do...
Read more >
Variable interpolation in options:env: not working #98 - GitHub
Hi, I'm trying to specify environment variables for the whole build instead of for each build step, like so: steps: - id: 'echo_env_vars' ......
Read more >
The System Could Not Find The Environment Option That Was ...
Fixed -The System Could Not Find The Environment Option That Was Entered.This is a very irritating issue that arises when the Environment ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found