On Fri, November 23, 2007 23:08, James B. Byrne wrote: > I found this message:
> > Now, the version.rb that is loaded from > http://rspec.rubyforge.org/svn/trunk/rspec > has only this: > > ---> > module Spec > module VERSION > unless defined? MAJOR > MAJOR = 1 > MINOR = 1 > TINY = 0 > RELEASE_CANDIDATE = nil > > # RANDOM_TOKEN: 0.885013695004692 > REV = "$LastChangedRevision$".match(/LastChangedRevision: (\d+)/)[1] > <--- > > One cannot but notice the absence of any digits in the REV = string. Is > this the source (sink) of the [] nil object? > So. I went to the rubyforge trac site and found what the svn version.rb said and from that information I manually changed my copies in rspec and rspec_on_rails to have this: REV = "$LastChangedRevision: 2757 $".match(/LastChangedRevision: (\d+)/)[1] and now all is good. -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:[EMAIL PROTECTED] Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
