# Ruby script server/console through readline (LoadError)

**URL:** <https://www.ruby-forum.com/t/ruby-script-server-console-through-readline-loaderror/179804>\
**Category:** Ruby\
**Created:** [December 4, 2009, 6:42am UTC](https://www.ruby-forum.com/t/ruby-script-server-console-through-readline-loaderror/179804 "2009-12-04T06:42:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabakar007](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e19adc/32.png) [@prabakar007](https://www.ruby-forum.com/u/prabakar007)\
**Post date:** [December 4, 2009, 6:42am UTC](https://www.ruby-forum.com/t/ruby-script-server-console-through-readline-loaderror/179804/1 "2009-12-04T06:42:27Z")

</div>

i have centos5.1 and ruby version “ruby 1.8.6 (2007-03-13 patchlevel 0)  
[x86\_64-linux]” “gem version 1.3.5”

[root@localhost]$ script/console  
./script/…/config/boot.rb:25:Warning: Gem::SourceIndex#search support  
for String patterns is deprecated, use #find\_name  
Loading development environment.  
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError) from /usr/local/lib/ruby/1.8/irb/completion.rb:10 from /usr/local/lib/ruby/1.8/irb/init.rb:252:in`require’  
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules' from /usr/local/lib/ruby/1.8/irb/init.rb:250:in`each’  
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `load_modules' from /usr/local/lib/ruby/1.8/irb/init.rb:21:in`setup’  
from /usr/local/lib/ruby/1.8/irb.rb:54:in `start’  
from /usr/local/bin/irb:13

and then i have installed the following for fix that error

$\> yum install readline-devel -y  
$\> cd /root/src/ruby-1.8.6/ext/readline/  
$\> ruby extconf.rb  
$\> make

the make through the following message;;

make: Nothing to be done for `all’.
