hi, all.. i have been messing with this for awhile and i decided to get some help.. i am getting the same problem (1) that i have seen on the list: i am running on centos... i installed readline, and that went fine.. if i do a locate on it, i can see that they are there (2).. but for some reason, it looks like ruby is not seeing readline.. any ideas on how i can make this work? thanks! ___ (1) 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 `load_modules'' 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 ___ (2) ... /usr/include/readline ... /usr/local/lib/libreadline.so ... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Strange, I had this problem last night. You need to install the readline development package for centos. Use yum to do this. Then you need to go you ruby source code, presuming that you still have it around after you compiled ruby and change to the "ext/readline" directory. There will be a extconf.rb file ( from memory ). Run that with the command "ruby ./extconf.rb". A make file should be generated. Type in "make" and then as root, "make install". On 12/13/06, Sergio Ruiz <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > hi, all.. > > i have been messing with this for awhile and i decided to get some > help.. > > i am getting the same problem (1) that i have seen on the list: > > i am running on centos... > > i installed readline, and that went fine.. if i do a locate on it, i can > see that they are there (2).. > > but for some reason, it looks like ruby is not seeing readline.. > > any ideas on how i can make this work? > > thanks! > > > ___ > (1) 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 `load_modules'' > 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 > > ___ > (2) > ... > /usr/include/readline > ... > > /usr/local/lib/libreadline.so > ... > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bruce Woodward wrote:> Strange, I had this problem last night. >bingo bango bongo! that worked like a charm! thanks so much, bruce! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---