Open kirillrdy opened 2 weeks ago
/usr/local/rvm/rubies/ruby-3.3.5/lib/ruby/3.3.0/bundled_gems.rb:75:in 'require': libruby.so.3.1: cannot open shared object file: No such file or directory - /usr/local/rvm/gems/ruby-3.3.5@tv/gems/brakeman-6.2.1/bundle/ruby/3.1.0/gems/io-console-0.7.2/lib/io/console.so (LoadError)
Ruby 3.3.5 Rails 7.2.1
command: bundle exec rails console
Hey @kirillrdy - sorry I missed your original message.
Two short term options:
gem 'brakeman', require: false
so it doesn't interfere with commands like rails console
brakeman-lib
instead so it doesn't come with pre-packaged libraries.The conversation of standard libraries to gems is killing me 😞
- gem 'brakeman', require: false
Thanks, adding gem 'brakeman', require: false
fixes the problem, but adding gem 'guard-brakeman'
returns it.
Background
Brakeman version: ? 6.2.1
Rails version: ? Ruby version: ? 3.3.4
Link to Rails application code: ?
Issue
What problem are you seeing?
I am using ruby 3.3.4 but brakeman ships with binaries that were linked against ruby 3.1
Other Error
Run Brakeman with
--debug
to see the full stack trace.Stack trace: