Sto usando rvm sul mio ubyntu 11.10. Il mio readline non funziona, ho provato ruby extconf.rb
ma non è passato. L'uscita è sotto:Readline non funziona in rvm - Ubuntu 11.10
$ ruby extconf.rb
checking for tgetnum() in -lncurses... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for readline() in -lreadline... no
checking for readline() in -ledit... no
checking for editline/readline.h... no
Ho provato a installare libncurses5-dev & libreadline5-dev
$ sudo apt-get install libncurses5-dev libreadline5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libreadline5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libreadline-gplv2-dev:i386 lib64readline-gplv2-dev:i386 libreadline-gplv2-dev
E: Package 'libreadline5-dev' has no installation candidate
Qual è il problema? Qualcuno può aiutare?
Questo ha funzionato per me, ma solo dopo aver rimosso completamente/usr/local/rvm e reinstallare rvm da zero. Sembra che 'rvm remove 1.9.2' non sia stato sufficiente per eliminare tutto ciò che veniva memorizzato nella cache. –