Created
October 19, 2016 21:05
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rbenv install -f 2.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pry | |
[1] pry(main)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment