thoughtbot / parity

Shell commands for development, staging, and production parity for Heroku apps
https://thoughtbot.com
MIT License
889 stars 57 forks source link

calling parity for customized environments without putting `bin/` before the environment #172

Closed concept47 closed 5 years ago

concept47 commented 5 years ago

Help us track down and resolve parity problems faster with this template.

What command did you execute?

staging2 deploy

What did you expect to happen?

I have a binstub in bin/staging2 that works when I call bin/staging2 deploy I expected that to be called when I executed staging2 deploy

What actually happened?

-bash: staging2: command not found

I know this is probably a newb issue. But I just wanted to figure out how to make my customized environments execute without having to type bin/ in front of them

Some information about your installation

geoffharcourt commented 5 years ago

Hi!

You can solve this issue with this .git/safe trick from the thoughtbot blog. It allows you to put everything in bin into your path only for repositories you trust.