Problems running minitest with your ENV Vars?

Maybe you can't even run your migrations or bundle install neither run your test because you have an ENV var that relies on your project or gem where you are using ENV.fetch and you are seeing a key error because your project can't identify that ENV var.

Go to:


Add your ENV VAR



bin/spring stop  

This will happen automatically when you close your terminal but like when you are doing changes to your setup, maybe the changes aren't being reflected.


rails test  

This should be all.

See you in the next post.

Victor Velazquez

Coder, Musician, Startups, Passionate Dancer & Life Lover. Director of Engineering at MagmaLabs, Co-founder of Web Dev Talks, Co-founder of Voltaire, Co-founder of Paqkit, Ex-co-founder of Zaznova.

Subscribe to The zazvick's blog

Get the latest posts delivered right to your inbox.

or subscribe via RSS with Feedly!