My version of ruby was compiled with editline
(on os x) and I miss the features of readline
in irb
.
How do I recompile ruby with readline
support?
readline
to /usr/local
--with-readline-dir=/usr/local
switchor if you have downloaded the ruby sources earlier and built it by hand,
ext/readline
folder of your ruby source treeruby extconf.rb
and then run the make && make install
procedure for ruby.There's also a pure ruby readline.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With