【问题标题】:Found plugin pry-remote, but could not require 'pry-remote'找到插件 pry-remote,但不需要“pry-remote”
【发布时间】:2016-12-14 01:10:55
【问题描述】:

当我在终端中运行 pry 时,我收到了这条消息:

Found plugin pry-remote, but could not require 'pry-remote'
dlopen(/usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle, 9): Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
  Referenced from: /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle
  Reason: image not found - /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle
[1] pry(main)>

但我可以使用撬。为什么需要pry-remote?如果readline有问题,是否需要重新安装ruby?

【问题讨论】:

  • 你在使用 gemfile 吗?你想跑什么?
  • @maxpleaner 我只想运行一些基本的 ruby​​ 代码。当我在终端中输入 pry 时,我只想写 ruby​​。所以我没有使用 Gemfile。

标签: ruby readline pry


【解决方案1】:

尝试运行

gem uninstall pry-remote

然后希望 pry 会运行

【讨论】:

  • 谢谢。在我运行它并再次运行pry 之后,我收到了许多Ignoring 消息,例如Ignoring bcrypt-3.1.11 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.11
  • 抱歉,这可能不是最好的建议。立即尝试gem pristine --all
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多