Forum: Ruby Rails Console (v1.2) won't load.

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.
962613f3d9e4306aada868261feb3cf1?d=identicon&s=25 unknown (Guest)
on 2007-02-22 22:55
(Received via mailing list)
Hi - just upgraded to rails 1.2 and the console script is failing to
load under ruby 1.8.5-p2.  Any one seen this before?  (Every thing
else is running fine; hmmm...)  Thanks for any help you can lend.

Regards,

Ken

582-> ruby script/console
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
962613f3d9e4306aada868261feb3cf1?d=identicon&s=25 unknown (Guest)
on 2007-02-22 23:00
(Received via mailing list)
On Feb 22, 1:53 pm, coachhil...@gmail.com wrote:
> /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


Neglected to mention that I'm running on Ubuntu linux w/a locally
built Ruby.

Ken
C536ff238c3b2f5bc444c41bd895d223?d=identicon&s=25 Max Deineko (Guest)
on 2007-02-23 15:15
(Received via mailing list)
coachhilton@gmail.com wrote:
 > On Feb 22, 1:53 pm, coachhil...@gmail.com wrote:
 >> Hi - just upgraded to rails 1.2 and the console script is failing to
 >> load under ruby 1.8.5-p2.  Any one seen this before?

 >> 582-> ruby script/console
 >> Loading development environment.
 >> /usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such
 >> file to load -- readline (LoadError)

seems like you've built ruby without gnu readline
i don't have ubuntu but google suggests ([1,2])
it does not have the readline library
or development headers installed by default.

Max


[1]
http://ruphus.com/blog/2007/01/27/installing-rails...
[2]
http://greenprogrammer.blogspot.com/2006/05/ruby-w...
5ecfb4046c8d8333bdd13464b3d123c0?d=identicon&s=25 Kenosis (Guest)
on 2007-02-23 15:57
(Received via mailing list)
On Feb 23, 6:15 am, Max Deineko <m...@bitchesgroove.at> wrote:
>
> seems like you've built ruby without gnu readline
> i don't have ubuntu but google suggests ([1,2])
> it does not have the readline library
> or development headers installed by default.
>
> Max
>
> [1]http://ruphus.com/blog/2007/01/27/installing-rails......
> [2]http://greenprogrammer.blogspot.com/2006/05/ruby-w.......

Thanks VERY much.   I'd never have guess that!

Cheers,

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