Update rubygems to fix travis in ruby 1.8
Fix typos that make ruby 1.8 break
Merge pull request #2574 from maestrodev/travis-fix

Update rubygems to fix travis in ruby 1.8