Ruby 无法卸载bundler 1.2.3

Ruby 无法卸载bundler 1.2.3,ruby,rubygems,bundler,Ruby,Rubygems,Bundler,我使用的是ruby 1.9.3和rails 3.0.0版。我有bundler版本1.2.3。但是,在运行bundle时,安装它会显示“此文件需要不同版本的Bundler”。。我正试图卸载这个1.2.3,但它显示“INFO:gem”bundler“未安装”。请帮助我解决此问题。请尝试以下操作 type $ gem list | grep bundler # it will list all the bundler version then $ rvmsudo ge

我使用的是ruby 1.9.3和rails 3.0.0版。我有bundler版本1.2.3。但是,在运行bundle时,安装它会显示“此文件需要不同版本的Bundler”。。我正试图卸载这个1.2.3,但它显示“INFO:gem”bundler“未安装”。请帮助我解决此问题。

请尝试以下操作

       type  $ gem list | grep bundler  # it will list all the bundler version

       then $ rvmsudo gem uninstall bundler # it will list all the version to uninstall. we have to choose all versions.

       thats it. Then we can install our required version as follows.


        rvmsudo gem install bundler -v=1.0.21
尝试以下方法

       type  $ gem list | grep bundler  # it will list all the bundler version

       then $ rvmsudo gem uninstall bundler # it will list all the version to uninstall. we have to choose all versions.

       thats it. Then we can install our required version as follows.


        rvmsudo gem install bundler -v=1.0.21

请提供有关如何在计算机上设置Ruby的信息。表示??我不明白你的问题。你是如何在你的机器上安装Ruby的?你用过RVM吗?你用过rbenv吗?是的。我使用rvm安装..请提供有关如何在计算机上设置Ruby的信息。意思是??我不明白你的问题。你是如何在你的机器上安装Ruby的?你用过RVM吗?你用过rbenv吗?是的。我使用rvm安装..当我运行
gem list
时,我得到的版本与运行
bundler-v
时不同。当我运行
gem list
时,我得到的版本与运行
bundler-v
时不同。