From: Justin Collins Date: 2009-03-14T11:52:48+09:00 Subject: Re: When was the parse method added to the Time class? Paul Carvalho wrote: >> As a test, I uninstalled Ruby 184 and installed Ruby 186 and I get the >> same effect on this computer -- i.e. the Time.parse method is still >> not there by default. Weird. Could another Ruby gem be causing the >> problem? >> >> > > Okay, I uninstalled Ruby again and reinstalled it. This time I wrote > a one-line script with the above Time.parse code so that I could run > it anytime. > > I installed all the gems I needed and the Time.parse method is always > there and works as expected. > > The one thing I did the last time that I *didn't* do this time was run > the command: > >> gem update --system >> > > If I run the above, then the Time.parse method will no longer be > available by default. It looks like there is something in that update > that kills the parse method for the Time class. > > I won't be updating my rubygems again unless there is some compelling > reason for me to. > > At least now I know what caused this system to stop running that > script. > Probably the newer version of one of your gems stopped including the Time library. -Justin