问题
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