Forum: Ruby on Rails Problems With Console

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Floyd Resler (Guest)
on 2006-05-10 15:29
(Received via mailing list)
I just recently got Ruby on Rails and am having some problems with ./
script/console.  Whenever, I enter the command, I get this:
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

The file completion.rb is definitely in the correct place and the
permissions are set correctly.  I have it installed on Mac OS X 10.4
Server.  Any help would be appreciated.

Thanks!
Floyd
Ray B. (Guest)
on 2006-05-10 19:52
(Received via mailing list)
Floyd Resler wrote:
>         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
>
> The file completion.rb is definitely in the correct place and the
> permissions are set correctly.  I have it installed on Mac OS X 10.4
> Server.  Any help would be appreciated.

You need to install a version of ruby that includes readline support.

--

Ray
This topic is locked and can not be replied to.