Travis multi-Ruby support

This is an attempt to make Travis use multiple Rubies, which probably won't 
work on the first attempt.  When it does work, this fixes #4686.