-
Notifications
You must be signed in to change notification settings - Fork 113
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
Update stale violations error message to use bin/packwerk command #371
Conversation
8e61c2f
to
1ac271a
Compare
Thank you! |
This PR is wrong. Reverting. It assumes you have a binstub that you might not have. |
See #138 (comment) |
That's true, but shouldn't we generate a binstub in that case to reduce confusion? Right now, the output is misleading. |
It isn't misleading. The documentation assumes people know how bundler works, and it is written with that focus. |
Sorry to cause problems. 😅 For context, I would often see this in CI and it would tell me, very explicitly, to "run I've worked with Ruby for a bit so I know other things to try, but I don't think I'd claim to have any deep understanding of how bundler works. (Perhaps naively I think the whole point of bundler is to not have to understand it?) Anyway, my intention was simply to try and reduce some toil for some devs. If it creates more toil elsewhere then I'm all for the revert. |
bundler actually requires you know now a lot about it. That is why you see a lot of places recommending |
Why is I always saw it as a way of saying "I want to run this command within the context of a bunch of dependencies that I have defined in the Gemfile", and over time just used it due to muscle memory.
Yeah, that's a really nice solution. What prevents us doing this in our spin environments? |
I think nobody got to it. Because we already know a directory is trusted on shadowenv
Because for some commands, like Rails you activate bundler twice. |
TIL. Thanks for answering all my questions. ❤️ |
What are you trying to accomplish?
A more correct error message for those of us who just blindly copy and paste things. :)
What approach did you choose and why?
Replaced
packwerk
withbin/packwerk
What should reviewers focus on?
🤷
Type of Change
Additional Release Notes
Include any notes here to include in the release description. For example, if you selected "breaking change" above, leave notes on how users can transition to this version.
If no additional notes are necessary, delete this section or leave it unchanged.
Checklist