We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cannot load such file -- rexml/document (LoadError)
rexml was previously added through rubocop, but they recently removed it: rubocop/rubocop#13165
rubocop
But seems like it is still necessary for ERB Lint itself:
bundle exec erblint --lint-all bundler: failed to load command: erblint (/home/runner/work/app/app/vendor/bundle/ruby/3.2.0/bin/erblint) <internal:/opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require': cannot load such file -- rexml/document (LoadError) from <internal:/opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require' from /home/runner/work/app/app/vendor/bundle/ruby/3.2.0/gems/erb_lint-0.6.0/lib/erb_lint/reporters/junit_reporter.rb:3:in `<top (required)>'
This is when using erb_lint (0.6.0) with rubocop (1.66.1).
erb_lint (0.6.0)
rubocop (1.66.1)
This can be "fixed" by adding gem "rexml", require: false to Gemfile, but erb_lint should have its dependencies handled better.
gem "rexml", require: false
Gemfile
erb_lint
The text was updated successfully, but these errors were encountered:
It looks like it's fixed in #374, so we just need a new release that contains it.
Sorry, something went wrong.
Fixed in 0.7.0
No branches or pull requests
rexml
was previously added throughrubocop
, but they recently removed it: rubocop/rubocop#13165But seems like it is still necessary for ERB Lint itself:
This is when using
erb_lint (0.6.0)
withrubocop (1.66.1)
.This can be "fixed" by adding
gem "rexml", require: false
toGemfile
, buterb_lint
should have its dependencies handled better.The text was updated successfully, but these errors were encountered: