Limit gem versions

Travis was suddenly trying to install redcarpet 3.0.0 which doesn't
seem to work with ruby 1.8.7 anymore. Prevent it from doing this.