Closed jbourassa closed 2 years ago
Ah, sorry about that. I wrote the PR that added this feature and I failed to consider DidYouMean
not being available for this reason.
Thanks for the PR. I just released 0.10.1 with your fix.
Thanks a ton @solnic 🙇.
The gem won't load when DidYouMean is disabled with --disable-did_you_mean:
With this commit, the gem loads even though some tests fail.
We run some of our Ruby apps with
--disable-did_you_mean
for performance reasons, hence the change.I didn't write any tests for this. The only test I could think of would be something like shelling out to load a new Ruby interpreter without
DidYouMean
and validating that it doesn't fail:I didn't see a lot of value in such test, but open to feedback or alternative.