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’

?

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs