【发布时间】: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。