[英]Bundler is not compatible with Rubygems 2.0. Please upgrade to Bundler 1.3 or higher
I am deploying a Ruby on Rails application and part of the startup script that I have when provisioning a new box is gem update --system
. 我正在部署Ruby on Rails应用程序,并且在配置新框时我拥有的部分启动脚本是
gem update --system
。
This happened to upgrade Rubygems to version 2.0. 这恰好将Rubygems升级到2.0版。 however, it looks like
bundler
is not compatible with this newer version of Rubygems. 但是,看起来
bundler
与这个较新版本的Rubygems不兼容。
Bundler is not compatible with Rubygems 2.0.
Please upgrade to Bundler 1.3 or higher.
Has anyone seen this or found a workaround? 有没有人看过这个或找到了解决方法?
更新到bundler的预发行版修复它。
gem install bundler --pre
I had the same problem and, since I was using RVM, I fixed it with the following command: 我有同样的问题,因为我使用的是RVM,我使用以下命令修复它:
rvm rubygems 1.8.25
If you are not using RVM, you could just try the following: 如果您不使用RVM,则可以尝试以下操作:
rubygems 1.8.25
This should remove your Rubygems 2.0 and allow Bundler to work again. 这应该删除您的Rubygems 2.0并允许Bundler再次工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.