Home Articles

无法卸载bundler 1.2.3

Asked
Viewed 322 times
1

我使用ruby 1.9.3和rails 3.0.0版 . 我有捆绑版本1.2.3 . 但在运行bundle install时显示“这个Gemfile需要不同版本的Bundler”..我正在尝试卸载这个1.2.3,但它显示“INFO:gem”bundler“未安装” . 请帮我解决这个问题..

1 Answer

  • 1

    请尝试以下方法 .

    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
    

Related