From: Leslie Viljoen Date: 2006-05-04T20:59:04+09:00 Subject: Re: Broken Console ------=_Part_497_8326684.1146743942189 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 5/4/06, Damien Timewell wrote: > > I just tried to boot up my app's console and it seems either something > is broken or I've done something wrong? > > Here's what I'm doing.. > > First i cd to my project then run the command 'script/console > development' only to get the following error: > > Loading development environment. > /usr/lib/ruby/1.8/irb/completion.rb:10:in `require': No such file to > load -- readline (LoadError) > from /usr/lib/ruby/1.8/irb/completion.rb:10 > from /usr/lib/ruby/1.8/irb/init.rb:218:in `require' > from /usr/lib/ruby/1.8/irb/init.rb:218:in `load_modules' > from /usr/lib/ruby/1.8/irb/init.rb:216:in `each' > from /usr/lib/ruby/1.8/irb/init.rb:216:in `load_modules' > from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup' > from /usr/lib/ruby/1.8/irb.rb:54:in `start' > from /usr/bin/irb:13 > > Does anyone know what's going wrong and what could be done to fix it? Looks like you are missing the readline library. My Debian box has this package in Apt: libreadline-ruby1.8 - Readline interface for Ruby 1.8 The Windows installer seems to include readline by default. L ------=_Part_497_8326684.1146743942189--