bundle update: env: ruby_executable_hooks: No such file or directory

眉间皱痕 提交于 2019-11-27 02:47:57

问题


Just updated rubygems-bundler from 1.2.2 to 1.3.0

Not sure, exactly, that this is the problem but now I'm getting these errors:

$ bundle update
env: ruby_executable_hooks: No such file or directory
$ bundle install
env: ruby_executable_hooks: No such file or directory

回答1:


please open a bug here: https://github.com/mpapis/executable-hooks/issues

as a temporary fix try:

rvm @global do gem regenerate_binstubs
gem regenerate_binstubs

Update 1:

As a fix for https://github.com/mpapis/executable-hooks/issues/6 version 1.2.1 of executable-hooks was released - it should fix the problem.

Update 2:

Folowing issues https://github.com/mpapis/executable-hooks/issues/7 https://github.com/mpapis/executable-hooks/issues/8 and finall fix in version 1.2.3 of executable-hooks




回答2:


Run the following command in the Terminal to refresh the executable-hooks to the latest version and fix the issue:

sudo gem install --user-install executable-hooks




回答3:


I had the same problem, but I have bundler, not rubygems-bundler, and my gem doesn't recognise regenerate_binstubs.

rvm all-gemsets do gem update bundler installed bundler 1.7.11 and fixed it for me.



来源:https://stackoverflow.com/questions/18936933/bundle-update-env-ruby-executable-hooks-no-such-file-or-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!