From: Robert Klemme Date: 2009-04-13T20:30:07+09:00 Subject: Re: Ruby 1.9 and the Queue class On 13.04.2009 03:12, Aldric Giacomoni wrote: > Using Gentoo - just unmasked Ruby 1.9 and emerged it (aka compile/install). > $ irb > irb(main):001:0> a = Queue.new > NameError: uninitialized constant Queue > from (irb):1 > from /usr/bin/irb:12:in `
' > irb(main):002:0> > > What gives ? > If I switch to Ruby 1.8 and do the same thing, I get a new queue.. Not for me: robert@fussel ~ $ allruby -e 'p Queue' ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin] -e:1: uninitialized constant Queue (NameError) ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-cygwin] -e:1:in `
': uninitialized constant Queue (NameError) robert@fussel ~ $ allruby -r thread -e 'p Queue' ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin] Queue ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-cygwin] Queue robert@fussel ~ $ Do you maybe have some default require which requires "thread"? Kind regards robert -- remember.guy do |as, often| as.you_can - without end