gpt4 book ai didi

ruby - 备份 gem 的问题

转载 作者:太空宇宙 更新时间:2023-11-04 05:32:22 26 4
gpt4 key购买 nike

我刚刚安装了 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]

最佳答案

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

关于ruby - 备份 gem 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9360891/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com