trunk-io / plugins

Trunk.io plugins repo
https://docs.trunk.io
MIT License
126 stars 40 forks source link

ruby brakeman is not working with ruby 3.3.1 version #922

Open amkisko opened 2 days ago

amkisko commented 2 days ago

Hey!

We are using higher version of ruby than officially supported here.

Here's what we recently got with brakeman:

        Loading scanner...
        cannot load such file -- racc/parser
        Please install the appropriate dependency: ruby_parser.

Any suggestions how to fix it?

det commented 1 day ago

Hello @amkisko

I see you have another change to update ruby build. With that change are you able to install the ruby version you are interested in?

amkisko commented 1 day ago

Hello @det! Yes, fresh ruby-build supports latest versions of ruby, but there are changes to parser, so at least it affects brakeman. standardrb works well with fresh ruby versions.