Skip to content

Instantly share code, notes, and snippets.

@y-temp4
Created October 19, 2016 21:05
Show Gist options
  • Save y-temp4/81796b03dc60aca0919e8937b80068c8 to your computer and use it in GitHub Desktop.
Save y-temp4/81796b03dc60aca0919e8937b80068c8 to your computer and use it in GitHub Desktop.
Pry実行時のエラー「Sorry, you can't use Pry without Readline or a compatible library.・・・」を解決する ref: http://qiita.com/y-temp4/items/7f3d394cfed83c486f15
$ pry
Sorry, you can't use Pry without Readline or a compatible library.
Possible solutions:
* Rebuild Ruby with Readline support using `--with-readline`
* Use the rb-readline gem, which is a pure-Ruby port of Readline
* Use the pry-coolline gem, a pure-ruby alternative to Readline
...
$ gem install rb-readline
Fetching: rb-readline-0.5.3.gem (100%)
Successfully installed rb-readline-0.5.3
Parsing documentation for rb-readline-0.5.3
Installing ri documentation for rb-readline-0.5.3
Done installing documentation for rb-readline after 3 seconds
1 gem installed
$ rbenv install -f 2.3.1
$ pry
[1] pry(main)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment