这是我的错误信息:为什么Ruby bundler(w/whiskey_disk和RVM)抱怨安装的Gem不是> = 0?
Running rake deploy:post_setup...
rake aborted!
You have requested:
nokogiri >= 0
The bundle currently has nokogiri locked at 1.5.5.
Try running `bundle update nokogiri`
这是消息告诉我,不知何故1.5.5不符合“> = 0”的要求?这听起来不对。
如果我解释这个错误,我该如何解释它?
(Ruby是JRuby的1.6.7.2,包是1.1.4。这rake任务实际上是通过whiskey_disk运行,如果这是很重要的。)
==八个月后==
我发现同样的错误。再次尝试使用whiskey_disk,所以我怀疑这是与whiskey_disk相关的。
这一次,它与bcrypt宝石。
3052 ~/dev/myproj$ bundle exec wd setup --to=grant
Deploying [email protected]<myserver>.com...
[email protected]<myserver>.com's password:
Repository already cloned to [/home/grant/myproj]. Skipping.
Running rake deploy:post_setup...
rake aborted!
You have requested:
bcrypt-ruby >= 0
The bundle currently has bcrypt-ruby locked at 3.0.1.
Try running `bundle update bcrypt-ruby`
再一次,这是什么?我要求的东西大于0,并且它抱怨,因为这个包有宝石,它大于0!有什么问题?
Gemfile只包含gem 'bcrypt-ruby'
- 没有指定版本。版本3.0.1应该是完全可以接受的。
我试过在目标服务器上做bundle update
和bundle update bcrypt-ruby
,但都没有改变任何东西。
你可以发布你的Gemfile和Gemfile.lock吗?你可以发布你的Bundler.require或Bundler.setup的环境部分吗? – zaius 2013-02-23 19:59:23