Ruby hooks failing with rbenv installed
See original GitHub issuePre-commit has been failing for the past few weeks.
https://gist.github.com/ThatGerber/d6533155848076b25e5e0d5cb02e20eb
Seems to be an issue with the ruby (rbenv) environment.
Tried running pre-commit clean && pre-commit
but it returns the same issue. Setting rbenv global 2.2.4
and rbenv shell 2.2.4
does help either.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Git post-receive hook not using ruby version specified by rbenv
I'm deploying code to an ubuntu server which I've declared as a git remote with git push prod master . But it's using...
Read more >Plugins - RubyGems Guides
Automatically runs rbenv rehash after installing or uninstalling gems. This plugin is deprecated since its behavior is now included in rbenv core. rubygems-desc....
Read more >doc/troubleshooting/ruby.md · main - GitLab Development Kit
The installation of the thrift v0.14.0 gem during bundle install can fail with the following error due to a known bug.
Read more >[Solved]-rbenv won't hold a global version-ruby
You're running into this issue because rbenv is designed to work on a per user basis, not as a "global" program. You've seen...
Read more >Rbenv — How it works - Medium
You install different ruby versions with rbenv install version and ... I happen to read more on other topics like rbenv hooks and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah I can reproduce with the following (in a docker container)
And then:
This patch seems to fix it \o/
This should be fixed in 0.8.1, please check it out!
Thanks again for the report 😃