简体   繁体   English

Rbenv说红宝石版本已经改变,但是当我尝试捆绑说Im的版本不正确时

[英]Rbenv says the ruby version has changed but when I try to bundle says Im on the wrong version

Yeah, I've got no idea what's going on here is it because the 2.2.0 version is inside the 2.2.3 version? 是的,我不知道这是怎么回事,因为2.2.0版本位于2.2.3版本内部? I've tried removing the ruby version and reinstalling with rbenv but still is in the same directory. 我试过删除ruby版本并用rbenv重新安装,但仍然在同一目录中。

ruby -v, rbenv local, rbenv global ruby -v,rbenv本地,rbenv全局

ruby env 红宝石环境

Have you tried running: 您是否尝试过跑步:

rbenv rehash

Here's a link to the command's description: 这是命令说明的链接:

https://github.com/rbenv/rbenv#rbenv-rehash https://github.com/rbenv/rbenv#rbenv-rehash

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM