宝石更新问题与红宝石2.2.2
问题描述:
我试图将我的红宝石1.9.3更新到2.2.2,当我在本地测试,所有工作正常,但是当我尝试推向heroku我得到了雨滴发行版本,然后我更新由命令雨滴宝石更新问题与红宝石2.2.2
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)
这里麒麟下的雨滴并没有变化,其他只是变了,它推动成功,它会在生产中随时为麒麟造成任何问题吗?
答
阅读你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
您有最新版本的宝石安装的(见RubyGems的raindrops
页)。 unicorn
本身取决于0.7
和< 1.0
之间的raindrops
版本,版本0.17.0
满足此要求。
一切都好!
感谢,还我怎么能知道这个说法“麒麟本身依赖于0.7和 django
明白了这个意思感谢http://*.com/questions/8699949/what-do-symbol-mean-in-a-bundler-gemfile – django
'〜>'被称为[悲观运算符](https://robots.thoughtbot.com/rubys-pessimistic-operator)。 – spickermann