Well, I got it to work. But, not 100% sure what did it.
I did these:
installed ubuntu's libreadline5-dev.
ran ruby extconf.rb in the 1.9.2-src.../ext/readline dir
ran the ./confuration.sh | tee temp.log multiple times looking in
temp.log for any readline info never found it.
installed ubuntu's ncurses-dev
ran ruby extconf.rb again and it recognized the system's readline,
ncurses, etc
did a make there
did another rvm install 1.9.2
once it was installed, readline stuff worked for 1.9.2 irb.
I'm going to ping the rvm users group to see if anyone knows this and
if an issue has been submitted.
GregD
···
On Oct 14, 11:36 am, GregD <gditr...@fuse.net> wrote:
All,
Does anyone have an issue with 1.9.2 irb and readline where the arrow
buttons and tab don't work?
I have tried many things and even remove readline6 from the picture
still does not work.
Let us know how it goes, cause exactly the same thing happened to me,
but as I'm not using 1.9.2 for anything I don't want to mess too much,
and would prefer to wait for a clean solution.
Jesus.
···
On Thu, Oct 14, 2010 at 7:16 PM, GregD <gditrick@fuse.net> wrote:
On Oct 14, 11:36 am, GregD <gditr...@fuse.net> wrote:
All,
Does anyone have an issue with 1.9.2 irb and readline where the arrow
buttons and tab don't work?
I have tried many things and even remove readline6 from the picture
still does not work.
It looks like it is not compiling with readline. Any help, please?
Thanks,
GregD
Well, I got it to work. But, not 100% sure what did it.
I did these:
installed ubuntu's libreadline5-dev.
ran ruby extconf.rb in the 1.9.2-src.../ext/readline dir
ran the ./confuration.sh | tee temp.log multiple times looking in
temp.log for any readline info never found it.
installed ubuntu's ncurses-dev
ran ruby extconf.rb again and it recognized the system's readline,
ncurses, etc
did a make there
did another rvm install 1.9.2
once it was installed, readline stuff worked for 1.9.2 irb.
I'm going to ping the rvm users group to see if anyone knows this and
if an issue has been submitted.
If you didn't have the libreadline5-dev installed on your system before,
that is what your problem was.
See my blog post: by: Brandon, the Random Man: Source Installation of Ruby in Ubuntu for other tips about installing
ruby from source on Ubuntu. Those instructions also work for 10.10.
Absolutely not. You don't need to use any 'rvm package' commands on
Debian; after you've installed libreadline5-dev package everything will
work perfectly, just redo the rvm install step.
···
On Wed, 9 Feb 2011 05:13:51 +0900 Victor Stan <victor.stan@gmail.com> wrote:
Yea, I figured that was it. But, is seems to me that if rvm can
install the packages libreadline and zlib, then it should reference
those when it configures and compiles ruby. I thought that is what it
would do and should do and not look for a system one.
BTW: This was a new VM and I did not have this problem on my other VMs
because they obviously had the system's libreadline5-dev package. I
tried to follow rvm instructions for readline and they did not work.
Then I remembered, I did installed dev libraries like readline's on
those VMs hence going down that path. I think RVM docs should point
this out or fix the rvm install -C to work with the rvm package
install.
···
On Oct 14, 6:35 pm, G Brandon Hoyt <qrpra...@gmail.com> wrote:
> installed ubuntu's libreadline5-dev.
If you didn't have the libreadline5-dev installed on your system before,
that is what your problem was.
See my blog post:by: Brandon, the Random Man: Source Installation of Ruby in Ubuntu for other tips about installing
ruby from source on Ubuntu. Those instructions also work for 10.10.