Readline problem in ruby 1.9.2 rvm

M

Max Williams

Hi all. I've set up a new rvm and gemset. In this gemset i have the
"rb-readline (0.4.0)" gem installed. When i try to start a console for
my rails app i get the following error:


/home/max/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/completion.rb:9:in
`require': no such file to load -- readline (LoadError)
from
/home/max/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/completion.rb:9:in
`<top (required)>'
from
/home/max/.rvm/gems/ruby-1.9.2-p0@buddystef/gems/railties-3.0.5/lib/rails/commands/console.rb:3:in
`require'
from
/home/max/.rvm/gems/ruby-1.9.2-p0@buddystef/gems/railties-3.0.5/lib/rails/commands/console.rb:3:in
`<top (required)>'
from
/home/max/.rvm/gems/ruby-1.9.2-p0@buddystef/gems/railties-3.0.5/lib/rails/commands.rb:20:in
`require'
from
/home/max/.rvm/gems/ruby-1.9.2-p0@buddystef/gems/railties-3.0.5/lib/rails/commands.rb:20:in
`<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

I'm sure i've had hassles with readline before and can't remember how i
fixed them :( Can anyone help? thanks, max
 
J

Justin Collins

Hi all. I've set up a new rvm and gemset. In this gemset i have the
"rb-readline (0.4.0)" gem installed. When i try to start a console for
my rails app i get the following error:


/home/max/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/completion.rb:9:in
`require': no such file to load -- readline (LoadError)
from
/home/max/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/completion.rb:9:in
`<top (required)>'
from
/home/max/.rvm/gems/ruby-1.9.2-p0@buddystef/gems/railties-3.0.5/lib/rails/commands/console.rb:3:in
`require'
from
/home/max/.rvm/gems/ruby-1.9.2-p0@buddystef/gems/railties-3.0.5/lib/rails/commands/console.rb:3:in
`<top (required)>'
from
/home/max/.rvm/gems/ruby-1.9.2-p0@buddystef/gems/railties-3.0.5/lib/rails/commands.rb:20:in
`require'
from
/home/max/.rvm/gems/ruby-1.9.2-p0@buddystef/gems/railties-3.0.5/lib/rails/commands.rb:20:in
`<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

I'm sure i've had hassles with readline before and can't remember how i
fixed them :( Can anyone help? thanks, max

See here: http://beginrescueend.com/packages/readline/

-Justin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top