env: ruby_noexec_wrapper: No such file or directory error

China☆狼群 提交于 2019-12-24 00:56:23

问题


I am getting this error pretty frequently after running this command once....

bundle clean --force

in my rails project..

How can i fix this?


回答1:


this same thing happened to me, i fixed it according to this comment: https://github.com/sstephenson/rbenv/issues/337#issuecomment-13235367

by running these commands

gem install rubygems-bundler
rubygems-bundler-uninstaller
gem uninstall rubygems-bundler



回答2:


Looks like you were using noexec, which is dead:

https://github.com/joshbuddy/noexec

Check your .gemrc and try running gem pristine [GEM] on your gems.



来源:https://stackoverflow.com/questions/14434459/env-ruby-noexec-wrapper-no-such-file-or-directory-error

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