1.9.3-p194 :001 > 1/2
=> 0
1.9.3-p194 :002 > require 'ruby-units'
=> true
1.9.3-p194 :003 > 1/2
=> (1/2)
1.9.3-p194 :004 > 1/2.0
=> (1/2)
I didn't install any other gem, and I read ruby-units code a little bit and found nothing. Could someone tell me what happening here because I don't want to change a lot of code in my repository.
Thanks