If you are using RVM: rvm package install readline rvm remove 1.9.1 rvm install 1.9.1 -C --with-readline-dir=$HOME/.rvm/usr
Otherwise try: sudo apt-get install build-essential sudo apt-get install bison byacc gperf sudo apt-get install zlib1g-dev sudo apt-get install libreadline5 libreadline5-dev sudo apt-get install libncurses5 libncurses5-dev temcap-compat sudo apt-get install libssl-dev Hope that helps. On Oct 7, 6:21 pm, miha_ill <mixalisxyd...@gmail.com> wrote: > first post in this forum... > I have ubuntu 10.04Lts / rb1.9.1+ rails 3.0... > when I am trying to use irb... ($rails console) I get this... > I have tried to reinstall everything(irb ruby readline by synaptic) > but nothing came up > any help would be nice ! thanks in advance... ! > > miha...@mihaill-laptop:~/www/blog$ rails console > /usr/local/lib/ruby/1.9.1/irb/completion.rb:9:in `require': no such > file to load -- readline (LoadError) > from /usr/local/lib/ruby/1.9.1/irb/completion.rb:9:in `<top > (required)>' > from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/ > commands/console.rb:3:in `require' > from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/ > commands/console.rb:3:in `<top (required)>' > from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/ > commands.rb:20:in `require' > from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/ > commands.rb:20:in `<top (required)>' > from script/rails:6:in `require' > from script/rails:6:in `<main>'a -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.