-
Notifications
You must be signed in to change notification settings - Fork 280
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
"Could not find gem '...' in locally installed gems" Upon Running Overcommit #798
Comments
not really a fix but a clutch: try installing both gems into MacOS default system ruby |
Thanks Bodhan! I will try this and get back to you |
I did this which still made no difference:
|
The issue I'm facing here is that I use rbenv to manage two Ruby versions locally: 2.6.10 and 2.7.8. When I use version 2.7.8, I encounter the problem described above. My final solution was to delete the contents of /Library/Ruby. I noticed that this directory contains Ruby gems for version 2.6, which might have caused caching conflicts. |
None of overcommit commands run. They all produce this error:
However:
Manually installing
gem install cadence-ruby -v 0.1.15
does not helpHowever running overcommit commands (eg overcommit --run) with a
bundle exec
works. eg:bundle exec overcommit --run
But still none of the git hooks run :
The text was updated successfully, but these errors were encountered: