Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rexml becomes explicit dependency as of Ruby 3.0 #22

Open
2called-chaos opened this issue May 12, 2021 · 0 comments
Open

rexml becomes explicit dependency as of Ruby 3.0 #22

2called-chaos opened this issue May 12, 2021 · 0 comments

Comments

@2called-chaos
Copy link

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 :)

korny added a commit to sofatutor/amazon-pay-sdk-ruby that referenced this issue Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant