Fixes Gantt chart with ruby 1.8.7 (#1606).
Authored by: jplang 2008-07-09
Parent: [r1646]
Child: [r1648]