gpt4 book ai didi

rubygems - Gem Pry - NameError:未初始化的常量 Pry::BondCompleter::Bond

转载 作者:行者123 更新时间:2023-12-02 19:26:46 25 4
gpt4 key购买 nike

每当我在命令行中输入 pry 时,它都会打开并显示此错误。

    terminal$ pry
NameError: uninitialized constant Pry::BondCompleter::Bond
from /home/think/.rvm/gems/ruby-1.9.3-p385@global/gems/pry-0.9.12.5/lib/pry/completion.rb:26:in `start'
[1] pry(main)>

解决办法是什么?即使我开始警惕,这也会出现,

terminal$ guard
18:07:44 - INFO - Guard is using NotifySend to send notifications.
18:07:44 - INFO - Guard is using TerminalTitle to send notifications.
18:07:44 - INFO - Guard::RSpec is running
18:07:44 - INFO - Guard::RSpec is running
18:07:44 - INFO - Guard::RSpec is running
18:07:44 - INFO - Guard is now watching at '/home/think/jonathan/organizor'
NameError: uninitialized constant Pry::BondCompleter::Bond
from /home/think/.rvm/gems/ruby-1.9.3-p385/gems/pry-0.9.12.5/lib/pry/completion.rb:26:in `start'
[1] guard(main)>

有什么我们可以做的吗?

最佳答案

似乎是0.9.12.5版本中的问题

gem uninstall pry -v 0.9.12.5
gem install pry -v 0.9.12.4

帮我修好了。对于您的 Gemfile:

gem 'pry', '0.9.12.6'

关于rubygems - Gem Pry - NameError:未初始化的常量 Pry::BondCompleter::Bond,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21405771/

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