ruby - 无法使用 ruby​​ 2.0 安装 bundler 1.3.0

标签 ruby rubygems bundler ruby-2.0

我安装了 Ruby 2.0.0 并且编译正常,但是当我使用 bundle install 时它给我这个错误:

Bundler is not compatible with Ruby 2.0 or Rubygems 2.0.
Please upgrade to Bundler 1.3 or higher.

如果我尝试使用 gem update bundler 更新它:

$ gem update bundler
Updating installed gems
Nothing to update

当我尝试更新 RubyGems 时:

$ gem update --system
Latest version currently installed. Aborting.

我错过了什么?

我正在使用 Ruby 2.0.0-p0 和 RVM 1.18.14。

最佳答案

Bundler 1.3 尚未发布,在此之前您必须安装预发布版本:

gem install bundler --pre

关于ruby - 无法使用 ruby​​ 2.0 安装 bundler 1.3.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15064542/

相关文章:

ruby-on-rails - rails : How do I validate against this code that I put into the lib/directory?

ruby - “错误请求”在 Ruby 中下载一些文件?

ruby-on-rails - 关于在生产环境中使用anyenv、rbenv、ndenv,CentOS7.*

ruby - 安装假期 gem 时出错

ruby-on-rails - 如何使用 Gibbon Gem 自动将订阅者添加到 MailChimp 中的特定兴趣组?

ruby-on-rails - 如何使 bundler 再次为非 root 用户工作? (错误地使用root后)

ruby-on-rails - 找到第一个匹配记录的最有效方法是什么?

ruby-on-rails - 安装 mysql2 (0.5.4) 时出错,Bundler 无法继续 - 在 Rails 项目中

ruby - 如何为每个开发人员自定义 Gemfile?

ruby-on-rails - github-pages 的 bundle 更新失败