Readline problem in ruby 1.9.2 rvm

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 :frowning: Can anyone help? thanks, max

···

--
Posted via http://www.ruby-forum.com/.

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

-Justin

···

On 05/08/2011 11:16 AM, Max Williams wrote:

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 :frowning: Can anyone help? thanks, max

Justin Collins wrote in post #997415:

···

On 05/08/2011 11:16 AM, Max Williams wrote:

   from
`<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 :frowning: Can anyone help? thanks, max

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

-Justin

Thanks Justin. That worked fine!

--
Posted via http://www.ruby-forum.com/\.