1

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

4

1 回答 1

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
于 2013-02-07T09:43:58.533 回答