Skip to content
New issue

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

bundle exec? & bin/rake #14

Open
raq929 opened this issue Nov 11, 2016 · 3 comments
Open

bundle exec? & bin/rake #14

raq929 opened this issue Nov 11, 2016 · 3 comments
Labels

Comments

@raq929
Copy link

raq929 commented Nov 11, 2016

right now we are running commands as rake db:migrate

Should we be using bundle exec rake db:migrate or bundle exec bin/rake db:migrate?

@raq929
Copy link
Author

raq929 commented Nov 11, 2016

bundle exec is a duplicate of #12
But the bin/rake question still holds.

@gaand
Copy link

gaand commented Nov 12, 2016

bundle exec rake db:migrate and bin/rake db:migrate are functionally equivalent, so either is acceptable. I prefer bin/<command> <argument(s)> because it's shorter. But, that cannot be used if binstubs don't exist (they do in our rails an ruby templates).

@jrhorn424
Copy link
Contributor

I prefer bin/rake (binstubs) when appropriate as it is the newer convention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants