uninitialized constant Date ?

Discussion in 'Ruby' started by Bill Walton, Aug 6, 2008.

  1. Bill Walton

    Bill Walton Guest

    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
    Bill Walton, Aug 6, 2008
    #1
    1. Advertising

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

    >require 'date'


    ?

    On Wed, Aug 6, 2008 at 4:26 PM, Bill Walton <> 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, Aug 6, 2008
    #2
    1. Advertising

  3. Bill Walton

    Bill Walton Guest

    Shadowfirebird wrote:

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


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

    Thanks,
    Bill
    Bill Walton, Aug 6, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter Grison

    Date, date date date....

    Peter Grison, May 28, 2004, in forum: Java
    Replies:
    10
    Views:
    3,250
    Michael Borgwardt
    May 30, 2004
  2. =?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?=

    Uninitialized constant objects

    =?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?=, Jun 1, 2005, in forum: C++
    Replies:
    5
    Views:
    424
    Karl Heinz Buchegger
    Jun 1, 2005
  3. Todd Gardner
    Replies:
    3
    Views:
    504
    Kaspar Schiess
    Jun 17, 2004
  4. Jigar Gosar
    Replies:
    8
    Views:
    137
    Khurram Virani
    Apr 3, 2008
  5. Chris Duncan
    Replies:
    0
    Views:
    117
    Chris Duncan
    Apr 11, 2007
Loading...

Share This Page