scm: fix unit tests fails in Ruby 1.9.
Authored by: tmaruyama 2011-03-03
Parent: [r4991]
Child: [r4993]