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

Missing install documentation for bin/codeownership #70

Closed
sarahsehr opened this issue Jun 12, 2023 · 2 comments
Closed

Missing install documentation for bin/codeownership #70

sarahsehr opened this issue Jun 12, 2023 · 2 comments

Comments

@sarahsehr
Copy link

Hello!

I am trying to follow the instructions for setting up this gem. After adding the gem to my Gemfile, creating a teams folder, and a config/code_ownership.yml, I can run CodeOwnership.validate! in the Rails console. However, bin/codeownership validate results in no such file or directory: bin/codeownership.

I'm wondering if there is a missing step in the instructions or if I have misunderstood the instructions. Thanks!

@alexevanczuk
Copy link
Contributor

@sarahsehr I think there may be missing instructions!

Without additional setup, if a gem has an executable, it can be invoked with bundle exec name_of_gem.

To add the bin/* command, you need to run bundle binstubs code_ownership, more here

@sarahsehr
Copy link
Author

@alexevanczuk Thanks! I figured it was a binstub command, but was looking in the wrong place.

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

No branches or pull requests

2 participants