Gem ruby 2.2.2 的更新问题

Gem update issue with ruby 2.2.2

我试图将我的 ruby 1.9.3 更新到 2.2.2,当我在本地测试时一切正常,但是当我尝试推送到 heroku 时我得到了雨滴问题版本然后我通过命令更新雨滴

bundle update raindrops 

但在那之后当我检查这个 Gemfile.lock 它显示

GEM
remote: https://rubygems.org/
specs:
  raindrops (0.17.0)
unicorn (4.6.3)
  kgio (~> 2.6)
  rack
  raindrops (~> 0.7)

这里unicorn下的raindrops没变,另一个只变了,推成功了,在生产的时候会不会给unicorn带来什么问题?

这样读你Gemfile.lock

GEM
remote: https://rubygems.org/
specs:
  raindrops (0.17.0)     # <- This is the installed version (0.17.0 is the latest)
unicorn (4.6.3)
  kgio (~> 2.6)
  rack
  raindrops (~> 0.7)     # <- This is the version unicorn depends on

您已安装 gem 的最新版本(参见 RubyGems 上的 raindrops 页面)。 unicorn 本身依赖于 0.7< 1.0 之间的 raindrops 版本,版本 0.17.0 满足此要求。

一切顺利!