Last active
June 29, 2017 20:36
-
-
Save justinxreese/332bd9325134708e3e4ea42206d8462d to your computer and use it in GitHub Desktop.
Ruby readline characters
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
➜ rails c | |
irb(main):001:0> test = 1 | |
=> 1 | |
irb(main):002:0> ^[[A^C | |
irb(main):002:0> ^D | |
➜ ruby -v | |
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin16] | |
➜ irb -v | |
irb 0.9.6(09/06/30) | |
➜ sw_vers | |
ProductName: Mac OS X | |
ProductVersion: 10.12.1 | |
BuildVersion: 16B2548a | |
➜ ruby -r rbconfig -e 'puts RbConfig::CONFIG["configure_args"]' | |
'--prefix=/Users/justin/.rubies/ruby-2.3.1' '--with-opt-dir=/usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/libyaml:/usr/local/opt/gdbm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ruby 2.3.1p112
I thought ruby did away with patch levels once they moved to 2.0+?