Downgrade RubyGems to 2.1.11 in 1.8 mode

This issue is fixed by 2.2.1, but until Travis VM is upgraded to use it,
we need this hack.