adding support for ruby 1.9