J
john peter
--0-526318835-1143835798=:40397
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
i'm using ruby 1.8.2, rubygem 0.8.10, rails 1.0.0 where activesupport =
version =3D 1.2.5
when i try to run this in RADRail, i get a NoMethodError:
require 'rubygems'
require_gem "activesupport"
print Time.now + 2.days
the error message is: c:/e312workspace/first/test3.rb:5: undefined method=
`days' for 2:Fixnum (NoMethodError)
is there a way to use the numeric/time core_ext in a plain ruby app? if s=
o, how?
thanks for any help!
=09
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
i'm using ruby 1.8.2, rubygem 0.8.10, rails 1.0.0 where activesupport =
version =3D 1.2.5
when i try to run this in RADRail, i get a NoMethodError:
require 'rubygems'
require_gem "activesupport"
print Time.now + 2.days
the error message is: c:/e312workspace/first/test3.rb:5: undefined method=
`days' for 2:Fixnum (NoMethodError)
is there a way to use the numeric/time core_ext in a plain ruby app? if s=
o, how?
thanks for any help!
=09