up to 1.8.1, support ruby 2.0.0