@dim = Date.civil(2007,8,1).day fails on OS X

the above line of code always produces an "invalid date" when run via a
controller on OS X, ROR v1.2.3 install via MacPorts.

I ran the same controller on Kubunut 7 with no issue


This works fine for me on a MacPorts ruby install,

What version of ruby are you running?

Works fine here, ruby 1.8.6 (2007-09-23 patchlevel 110) hand built, PPC