Browse Source

bundler 2 and rails 4.2 conflict

master
Andrés Riveros 6 years ago
parent
commit
afd20039ee
  1. 11
      .travis.yml
  2. 2
      Gemfile

11
.travis.yml

@ -2,13 +2,13 @@ language: ruby
env:
- "RAILS_VERSION=4.2"
- "RAILS_VERSION=5.1"
- "RAILS_VERSION=5.2"
- "RAILS_VERSION=master"
rvm:
- 2.3.6
- 2.4.3
- 2.5.0
- 2.3.8
- 2.4.5
- 2.5.3
matrix:
fast_finish: true
@ -19,7 +19,8 @@ matrix:
env: RAILS_VERSION=4.2
before_install:
- gem update bundler
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
before_script:
- bundle exec rake app:db:setup

2
Gemfile

@ -9,7 +9,7 @@ rails = case rails_version
when "master"
{github: "rails/rails"}
when "default"
"~> 5.1"
"~> 5.2"
else
"~> #{rails_version}"
end

Loading…
Cancel
Save