Merge pull request #1433 from internetee/upgrade-bundler

Upgrade to Bundler 2
This commit is contained in:
Timo Võhmar 2019-12-12 13:44:33 +02:00 committed by GitHub
commit 59a7a33c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 10 deletions

View file

@ -13,8 +13,6 @@ before_install:
- "sudo mv -f ~/chromedriver /usr/local/share/"
- "sudo chmod +x /usr/local/share/chromedriver"
- "sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver"
- "gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true"
- "gem install bundler -v '< 2'"
before_script:
- "cp config/application.yml.sample config/application.yml"
- "cp config/database_travis.yml config/database.yml"

View file

@ -1,10 +1,3 @@
# Use https only for accessing github
# https://github.com/bundler/bundler/pull/3447
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end if Bundler::VERSION < '2'
source 'https://rubygems.org'
# core

View file

@ -500,4 +500,4 @@ DEPENDENCIES
wkhtmltopdf-binary
BUNDLED WITH
1.17.3
2.0.2