Found plugin pry-remote, but could not require 'pry-remote'

203 views Asked by At

When I run pry in my terminal, I got this message:

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)>

But I can use pry. Why it require pry-remote? If the readline has problem, is it necessary to reinstall ruby again?

1

There are 1 answers

2
max pleaner On

Try running

gem uninstall pry-remote

Then hopefully pry will run