Ruby1.8

Add support for ruby 1.8.7 and 1.9.2