Skip to content

v4.9.0: Missing ruby_parser dependency #83

@Mourinto

Description

@Mourinto

Issue

Flog v4.9.0 switched from ruby_parser to prism but removed ruby_parser
as a dependency. However, prism/translation/ruby_parser still requires it.

Steps to Reproduce

  1. Install only flog v4.9.0 (without ruby_parser)
  2. Run any flog command
  3. Get error: "Unable to load ruby_parser"

Expected

ruby_parser should be listed as a dependency in the gemspec

Solution

Add ruby_parser back to dependencies, or switch to pure prism without
the ruby_parser compatibility layer.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions