Fixed Travis CI build to use Rails 4.0.x.