Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# frozen_string_literal: true

if !Gem::Requirement.new(">= 2.4").satisfied_by?(
Gem::Version.new(Bundler::VERSION)
)
raise "Bundler >= 2.4 is required. Please update Bundler by running `bundle update --bundler`"
end

source "https://rubygems.org"

git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
Expand Down
2 changes: 1 addition & 1 deletion bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ ensure-project-ruby-dependencies-installed() {
if [[ $USE_BUNDLER_1 -eq 1 ]] && (! has-bundler || ! [[ $(bundle -v) =~ '^Bundler version 1\.' ]]); then
gem install bundler:'~> 1.0'
elif ! has-bundler; then
gem install bundler
gem install bundler:'>= 2.4.0'
fi

bundle check || bundle install
Expand Down