From: trans Date: 2009-04-15T02:12:46+09:00 Subject: Re: Ruby 1.9 and the Queue class On Apr 12, 9:54 pm, Heesob Park wrote: > 2009/4/13 Aldric Giacomoni <"aldric[removeme]"@trevoke.net>:> 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.. > > require 'thread' first. Seems like it would be good to put that in it's own require. require 'queue' And thread.rb can require that. T.