I just started using irb on my Mac. When I press the Up arrow I should
see the previously entered line, right? Instead it writes “^[[A” to the
prompt. I’ve tried Terminal.app, iTerm, and xterm within X11, all do the
same thing. Any ideas?
I just started using irb on my Mac. When I press the Up arrow I should
see the previously entered line, right? Instead it writes “^[[A” to
the
prompt. I’ve tried Terminal.app, iTerm, and xterm within X11, all
do the
same thing. Any ideas?
I just started using irb on my Mac. When I press the Up arrow I should
see the previously entered line, right? Instead it writes “^[[A” to
the
prompt. I’ve tried Terminal.app, iTerm, and xterm within X11, all
do the
same thing. Any ideas?
Ruby 1.8.4 from DarwinPorts depends on readline, so it’s installed
for me. Recently, I found that the readline version from DarwinPorts
was updated. I installed it and broke Ruby stuff. I simply
deactivated the new one (5.1.x) and reactivated the old one (5.0.x).
Craig
Ok, I installed readline from Darwin Ports, but as you said its version
5.1. Is it possible to downgrade to an older version with Darwin Ports?
I just started using irb on my Mac. When I press the Up arrow I should
see the previously entered line, right? Instead it writes “^[[A” to
the
prompt. I’ve tried Terminal.app, iTerm, and xterm within X11, all
do the
same thing. Any ideas?
You need not do anything but build your own ruby and move the stock
ruby aside (eg sudo mv /usr/bin/ruby /usr/bin/ruby182). OSX ships
with libedit and it works fine with no extra configuration options.
I just started using irb on my Mac. When I press the Up arrow I should
see the previously entered line, right? Instead it writes “^[[A” to
the
prompt. I’ve tried Terminal.app, iTerm, and xterm within X11, all
do the
same thing. Any ideas?
You need not do anything but build your own ruby and move the stock
ruby aside (eg sudo mv /usr/bin/ruby /usr/bin/ruby182). OSX ships
with libedit and it works fine with no extra configuration options.
Ruby 1.8.4 from DarwinPorts depends on readline, so it’s installed
for me. Recently, I found that the readline version from DarwinPorts
was updated. I installed it and broke Ruby stuff. I simply
deactivated the new one (5.1.x) and reactivated the old one (5.0.x).
You need not do anything but build your own ruby and move the stock
ruby aside (eg sudo mv /usr/bin/ruby /usr/bin/ruby182). OSX ships
with libedit and it works fine with no extra configuration options.
Ruby 1.8.4 from DarwinPorts depends on readline, so it’s installed
for me. Recently, I found that the readline version from DarwinPorts
was updated. I installed it and broke Ruby stuff. I simply
deactivated the new one (5.1.x) and reactivated the old one (5.0.x).
It also works for me with ruby from Fink
Thanks
Michal
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.