Skip to content

Compatible with Ruby v3.2.1 ? #5

@pgundlupetvenkatesh

Description

@pgundlupetvenkatesh

@mvidner I ran into below error after running bundle exec code-explorer

warning: parser/current is loading parser/ruby27, which recognizes
warning: 2.7.x-compliant syntax, but you are running 3.2.1.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
<ruby_path>/gems/3.2.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1773:in `detect_rack_handler': Server handler (thin,puma,reel,HTTP,webrick) not found. (RuntimeError)
        from <path>/gems/3.2.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1438:in `run!'
        from <path>/gems/3.2.0/gems/code-explorer-0.3.0/bin/code-explorer:79:in `<top (required)>'
        from <path>/bin/code-explorer:25:in `load'
        from <path>/bin/code-explorer:25:in `<main>'
Browse:
 xdg-open http://localhost:4567/

I am running Ruby@3.2.1

Any plans to add support for Parser~>3.0 and Ruby v3.2.1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions