Setting up env, OSX rbenv and bundle battle

女生的网名这么多〃 提交于 2019-12-03 02:17:41

The problem seems to be that you're using a system ruby installed bundler, and not one installed with your rbenv ruby.

Run ruby --version to make sure your rbenv ruby is active, then run gem install bundler followed by rbenv rehash and then try reinstalling your gems and see if that works.

After many installs of rbenv, I too was unsure of why the correct ruby was not being used. Turns out the insertion of the eval statement was prior to the reorganized exports of PATH and the eval failed quietly. Make certain the PATH is established above the eval statement.

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