Open Jaco-Pretorius opened 7 months ago
This would only ever fire if you’ve got a syntax error or are trying to load a file that doesn’t exist.
if someone wants to remove dead-end or upgrade it to syntax_suggest I would accept the change.
(possibly) addresssed by https://github.com/zombocom/derailed_benchmarks/pull/228 which replaces dead_end
with syntax_suggest
which is the renamed library
https://github.com/ruby/syntax_suggest/blob/main/CHANGELOG.md#100-library-renamed-to-syntax_suggest-
I am having issues with running derailed against a Rails app with Ruby 3.2.2. The issue is rather obscure, but I'll put the stacktrace here
I suspect this is because the
dead_end
gem - which is thesyntax_suggest
repo - has been integrated with Ruby 3.2. At the very least it's not clear to me what is expected to happen if you include that gem while running Ruby 3.2 or later. There is an issue against thesyntax_suggest
repo which seems to indicate that you no longer need to include the gem but it doesn't say what will happen when you do. The stacktrace above does point to some of therequire_relative
overrides going on in that gem.