[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Rails Console (v1.2) won't load.

coachhilton

2/22/2007 9:53:00 PM

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

3 Answers

coachhilton

2/22/2007 9:57:00 PM

0

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? (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


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

Ken

Max Deineko

2/23/2007 2:15:00 PM

0

Kenosis

2/23/2007 2:51:00 PM

0

On Feb 23, 6:15 am, Max Deineko <m...@bitchesgroove.at> wrote:
> coachhil...@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-with-rea......
> [2]http://greenprogrammer.blogspot.com/2006/05/ruby-wreadline.......

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

Cheers,

Ken