using oai from github to support ruby v2.0.0