-
Notifications
You must be signed in to change notification settings - Fork 280
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
Fix load error with REXML document #1699
Comments
Thanks, @bkuhlmann. We probably missed this because RuboCop is part of the bundle in development. |
I found this independently on our project the other day but had forgotten to come here and report it. 😂 Worked fine after adding rexml to our Gemfile, so that seems to be the only missing dependency. |
Hey @mvz this dependency was added: https://github.com/troessner/reek/pull/1703/files Also, we did not add anything about it to the CHANGELOG. |
In the mean time, Reek 6.2.0 has been released which includes the rexml dependency in the gemspec. |
Thanks! Actually, you mean Reek 6.3.0 but understand what you mean. 😉 |
No I meant 6.2.0 because it already includes the change 😄 |
Oh, sorry, I should have double checked. I thought this functionality rolled out in 6.3.0 but it was 6.2.0. I stand corrected! 😊 |
Overview
Hello. 👋 I stumbled across an issue where I can't include Reek as a gem unless RuboCop is also required. I can see that
Reek::Report::XMLReport
requiresrexml/document
but there appears to be an order of operation issue where REXML isn't loaded in time.Steps to Recreate
You can run the following script to reproduce:
Upon running
./snippet
, I'll get the following output:Stack Dump
Environment
The text was updated successfully, but these errors were encountered: