# Strange error with script/console

**URL:** <https://www.ruby-forum.com/t/strange-error-with-script-console/120504>\
**Category:** Rails\
**Created:** [November 17, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/strange-error-with-script-console/120504 "2007-11-17T17:44:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/bbe5ce/32.png) [@paul](https://www.ruby-forum.com/u/paul)\
**Post date:** [November 17, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/strange-error-with-script-console/120504/1 "2007-11-17T17:44:07Z")

</div>

Hello,

I get this:  
$ ./script/console  
Loading development environment.  
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require’: no such  
file to load – readline (LoadError)  
…

found a LOT of solutions via google, like  
$ apt-get install libncurses5-dev libreadline5-dev

but since I use RedHat this doesn’t work for me.  
also tried  
$ yum install ncurses-devel readline-devel  
without success (ncurses-devel worked, readline-devel failed)

Does anyone know what I could do?  
Is it necessary to recompile ruby? ☹

Thanks in advance,  
Paul
