bring the gem to ruby 2.x era