Simplify Rails-specific gemfiles and fix syntax of .travis.yml