On my VPS (Ubuntu 10.04LTS), I have ree-1.8.7-2011.03 and ruby-1.9.2-p180 installed through RVM. My problem is that when I call Time.now in ree-1.8.7(irb), I get
Thu May 12 12:16:50 +0200 2011
, when I do the same in ruby-1.9.2(irb), I get 2011-05-12 12:17:44 +0200
.
The problem is the ree version of the date is unusable in my rails queries (The SQL generated is just plain broken). Formatting the time using strftime in every single query is not an option at the moment, and neither is switching to 1.9.2, so I need your help to figure out why this is happening and fix it.
Thanks for any help!