Skip to content

Commit

Permalink
add rexml gem for ruby 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Enucatl committed Oct 10, 2023
1 parent c2bb324 commit baab651
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ gems['puppet'] = location_for(puppet_version)

gems['facter'] = location_for(facter_version) if facter_version
gems['hiera'] = location_for(hiera_version) if hiera_version
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3")
# https://stackoverflow.com/questions/65479863/rails-6-1-ruby-3-0-0-tests-error-as-they-cannot-load-rexml
gems['rexml'] = '~> 3.2'
endif

gems.each do |gem_name, gem_params|
gem gem_name, *gem_params
Expand Down

0 comments on commit baab651

Please sign in to comment.