2
每當我在我的命令行中鍵入pry時,就會打開此錯誤。Gem Pry - NameError:未初始化的常量Pry :: BondCompleter :: Bond
terminal$ pry
NameError: uninitialized constant Pry::BondCompleter::Bond
from /home/think/.rvm/gems/[email protected]/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.6(在0.9.12.5之後幾個小時發佈)修復了這個問題,所以:'gem update pry' – TNT
更新您的答案請 – beck03076
.6也適用於我,更新了答案 – mahemoff