Can't run console

Hello,

When I try to run scrip/console I get this:

Loading development environment (Rails 2.0.2)
/opt/rails//lib/ruby/1.8/irb/completion.rb:10:in require': no such file to load -- readline (LoadError) from /opt/rails//lib/ruby/1.8/irb/completion.rb:10 from /opt/rails//lib/ruby/1.8/irb/init.rb:252:inrequire’
from /opt/rails//lib/ruby/1.8/irb/init.rb:252:in load_modules' from /opt/rails//lib/ruby/1.8/irb/init.rb:250:ineach’
from /opt/rails//lib/ruby/1.8/irb/init.rb:250:in load_modules' from /opt/rails//lib/ruby/1.8/irb/init.rb:21:insetup’
from /opt/rails//lib/ruby/1.8/irb.rb:54:in `start’
from /opt/rails/bin/irb:13

What am I missing? I’ve re-installed Ruby with readline dev packages
installed
and I couldn’t find a gem that looked like a solution to that.

Thanks.

You need to install the readline gem

Michael

Michael

On Dec 31, 2007, at 5:55 AM, “J. Pablo Fernández” [email protected]

Where is it? I can’t find it.

Thanks.

Nevermind (ruby-…/ext/readline).