More fixes for travis build

This is related to writing the gem such that it works with multiple ruby
implementations including MRI, JRuby, and Rubinius, as well as both Ruby1.8 and
Ruby1.9 versions in those implementations.