ruby - 是什么导致 bundler 中出现 "Your Ruby version is 2.2.3, but your Gemfile specified >= 2.2.3"?

标签 ruby bundler

在我的 Gemfile 中,我有

ruby '>= 2.2.3'

我的 Ruby 版本是 2.2.3

ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]

但我收到以下错误消息:

Your Ruby version is 2.2.3, but your Gemfile specified >= 2.2.3

2.2.3 大于或等于 2.2.3,那么这是怎么回事?

最佳答案

我使用的是旧版本的 bundler (1.10.6),这与 current 不同版本didn't support对于 Ruby 本身(而不是 gem),像 >= 这样的运算符。

关于ruby - 是什么导致 bundler 中出现 "Your Ruby version is 2.2.3, but your Gemfile specified >= 2.2.3"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38194417/

相关文章:

ruby - google-api-ruby-client:请求序列化导致空请求

ruby /Chef : is there a way to refer to the resource 'name' and pass to a function?

Ruby变量(Array)赋值错误(带push方法)

ruby - 如果源无法访问,请忽略 Gemfile `source`

ruby - Sinatra 找不到 View 目录

ruby - 来自文件的整数数组

rspec:未定义的局部变量或方法 `be_true'

ruby-on-rails - rails bundle 清洁

ruby-on-rails-3 - 与乘客一起部署 RoR 应用程序时无法 bundle

ubuntu - 使用 ruby​​ ffi-inliner 编译 tesseract-ocr gem 时出错