Fix travis gem dependency issues for ruby 1.8