diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 95bc30c..941a7f1 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -18,5 +18,5 @@ jobs: with: ruby-version: ${{ matrix.ruby_version }} bundler-cache: true - - run: gem update --system + - run: gem update --system 3.4.22 # The latest of Ruby 2.x support - run: bundle exec rake diff --git a/Gemfile b/Gemfile index 5d25c16..88a2574 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,7 @@ source 'https://rubygems.org' # Specify your gem's dependencies in deploygate.gemspec gemspec + +if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("3.1.0") + gem "multi_xml", "~> 0.6.0" +end