Uninitialized constant Date?

I've just set up a new Ubuntu 8.0.4 system and installed Ruby 1.8.6. I'm getting 'uninitialized constant Date' errors in irb when I try to do anything with the Date library. Time works fine. I've never had a problem like this and would appreciate any advice on how I might go about debugging / fixing it.

TIA,
Bill

I hate to ask a stupid question, but did you:

require 'date'

?

ยทยทยท

On Wed, Aug 6, 2008 at 4:26 PM, Bill Walton <bill.walton@charter.net> wrote:

I've just set up a new Ubuntu 8.0.4 system and installed Ruby 1.8.6. I'm getting 'uninitialized constant Date' errors in irb when I try to do anything with the Date library. Time works fine. I've never had a problem like this and would appreciate any advice on how I might go about debugging / fixing it.

TIA,
Bill

--
All you can do is try to know who your friends are as you head off to
the war / Pick a star on the dark horizon and follow the light

Shadowfirebird wrote:

I hate to ask a stupid question, but did you:

>require 'date'

Crap. I hate to ask stupid questions too :wink:

Thanks,
Bill