备份宝石的问题

时间:2012-02-20 12:10:25

标签: ruby linux rubygems gem backup

我刚安装了gem备份。当我尝试一下我得到这个错误。我能知道这是什么吗?

$ backup
/usr/lib/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/cli/utility.rb:240: warning:    parenthesize argument(s) for future version
/usr/lib/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/cli/utility.rb:104: wrong argument type Symbol (expected Proc) (TypeError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
from /usr/lib/ruby/gems/1.8/gems/backup-3.0.23/bin/backup:8
from /usr/bin/backup:19:in `load'
from /usr/bin/backup:19.


$ gem -v
1.4.0


gem list backup
*** LOCAL GEMS ***
backup (3.0.23)

ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux]

1 个答案:

答案 0 :(得分:0)

浏览备份gem文档后,我注意到支持的ruby的最低版本是1.8.7。