compatibility with rubygems 2.0

Changed the rubygems dependency to be compatibile with rubygems 2.0