require rubygems must come before other requires
Merge pull request #355 from maxamg/master

require rubygems must come before other requires