Guard: 用撬撬 0.13.0

创建于 2020-02-26  ·  5评论  ·  资料来源: guard/guard

/Users/lasto/.rvm/gems/ruby-2.7.0/gems/guard-2.16.1/lib/guard/jobs/pry_wrapper.rb:133:in `_setup': undefined method `file=' for #<Pry::History:0x00007fabc0258988>

这是因为 pry 已将 Pry.config.history 重构为一流的对象。

编辑:
而不是设置Pry.config.history.file ,应该设置Pry.config.history_file

最有用的评论

958 希望修复 Pry 0.13.0 兼容性问题。 我已经发布了 Guard 2.16.2 。 让我知道事情的后续。 🙏

所有5条评论

是的,我也遇到了这个。 使用 Pry 0.11.3 为我工作。

似乎还有其他问题(例如 https://travis-ci.org/github/guard/guard/jobs/665304043?utm_source=github_status)。 我也会考虑修复这些问题。

我现在看到了这一点,我们升级了pry-byebug ,将 pry 从0.12.2升级到0.13.0

guard (2.16.1)
guard-compat (1.2.1)
guard-rspec (4.7.3)
guard-rubocop (1.3.0)

pry (0.13.0, 0.12.2)
pry-byebug (3.9.0, 3.8.0, 3.7.0)
pry-rails (0.3.9)

958 希望修复 Pry 0.13.0 兼容性问题。 我已经发布了 Guard 2.16.2 。 让我知道事情的后续。 🙏

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

greyblake picture greyblake  ·  18评论

mockdeep picture mockdeep  ·  23评论

Antti picture Antti  ·  4评论

jonmchan picture jonmchan  ·  16评论

Odaeus picture Odaeus  ·  21评论