error with rails console

using rails 3.2.13
ruby 1.9.3-p0


getting following error

when typed rails console

/usr/local/lib/ruby/1.9.1/irb/input-method.rb:113:in `gets’: uninitialized constant IRB::ReadlineInputMethod::Readline (NameError)

from /usr/local/lib/ruby/1.9.1/irb.rb:139:in `block (2 levels) in eval_input'

Add in Gemfile
Gem ‘rb-readline’

Then run ‘bundle install’

But I not sure. In my computer is working.
Please looking for on stackoverflow. In this site, there are a lot of this problem.


still the same…

Is irb running standalone?

got it… gem ‘rb-readline’, ‘~>0.4.2’

it was version prob.