[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

uninitialized constant Date ?

Bill Walton

8/6/2008 3:26:00 PM

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
2 Answers

Shadowfirebird

8/6/2008 3:34:00 PM

0

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

Bill Walton

8/6/2008 4:40:00 PM

0

Shadowfirebird wrote:

> I hate to ask a stupid question, but did you:
>
> >require 'date'

Crap. I hate to ask stupid questions too ;-)

Thanks,
Bill