amazon-pay-sdk-ruby icon indicating copy to clipboard operation
amazon-pay-sdk-ruby copied to clipboard

rexml becomes explicit dependency as of Ruby 3.0

Open 2called-chaos opened this issue 3 years ago • 0 comments

Other notable changes since 2.7

  • The following default gems are now bundled gems.
    • rexml

via

Causing

LoadError: cannot load such file -- rexml/document
[..]/ruby/3.0.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:332:in `require'
[..]/ruby/3.0.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:332:in `block in require'
[..]/ruby/3.0.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:299:in `load_dependency'
[..]/ruby/3.0.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:332:in `require'
[..]/ruby/3.0.0/gems/amazon_pay-2.6.1/lib/amazon_pay/response.rb:1:in `<top (required)>'

Fix

Add gem 'rexml' to your Gemfile (maybe with a version restriction)

this is mainly for others googling this :)

2called-chaos avatar May 12 '21 00:05 2called-chaos