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/[email protected]/gems/railties-3.0.5/lib/rails/commands/console.rb:3:in
require' from /home/max/.rvm/gems/[email protected]/gems/railties-3.0.5/lib/rails/commands/console.rb:3:in<top (required)>’
from
/home/max/.rvm/gems/[email protected]/gems/railties-3.0.5/lib/rails/commands.rb:20:in
require' from /home/max/.rvm/gems/[email protected]/gems/railties-3.0.5/lib/rails/commands.rb:20:in<top (required)>’
from script/rails:6:in require' from script/rails:6:in

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

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

from
<top (required)>' from script/rails:6:inrequire’
from script/rails:6:in `’

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

Justin C. wrote in post #997415:

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

from
<top (required)>' from script/rails:6:inrequire’
from script/rails:6:in `’

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!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs