Note that there are some explanatory texts on larger screens.

plurals
  1. POinstall ruby 1.9.3 using rvm on ubuntu
    primarykey
    data
    text
    <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/4922700/ruby-1-9-2-and-rails-3-cannot-open-rails-console">Ruby 1.9.2 and Rails 3 cannot open rails console</a> </p> </blockquote> <p>I have already installed rvm and ruby 1.9.2, both working properly. Using rvm version 1.10.2. I previously installed the rvm packages readline/zlib, but now I'm having big troubles with readline now. I'm trying to install ruby 1.9.3 in rvm, but I always end up having readline not found.</p> <p>I tried to follow different solutions:</p> <pre><code> rvm remove 1.9.3 rvm pkg install readline rvm install 1.9.3 --with-readline-dir=$rvm_path/usr/ \ --with-zlib-dir=$rvm_path/usr/ rvm use 1.9.3 rvmsudo gem install bundler bundle install (all gems installed fine) rails c / rails s .rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/completion.rb:9:in `require': \ cannot load such file -- readline (LoadError) </code></pre> <p>I have libreadline-dev (version 6, the current one) installed (everything needed by those packages pretty much)</p> <p>I also tried the following:</p> <pre><code>.rvm/src/ruby-1.9.3-p0/ext/readline]$ 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 .rvm/src/ruby-1.9.3-p0/ext/readline]$ ruby extconf.rb \ --with-readline-dir=/home/claudiocontin/.rvm/usr/ 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 .rvm/src/ruby-1.9.3-p0/ext/readline]$ ruby extconf.rb \ --with-readline-lib=/home/claudiocontin/.rvm/usr/ 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 </code></pre> <p>Makefile is not generated of course ...</p> <pre><code> apt-get install libreadline-dev Reading package lists... Done Building dependency tree Reading state information... Done libreadline-dev is already the newest version. </code></pre> <p>Ideas?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload