The `to_datetime` method is new in 1.9, so you'll want to use the `strftime` invocation from #3 here instead. That and the literal hash syntax in `puts` were the only things preventing bamboo compatibility IIRC.