[Bug 285758] security/metasploit: Fails immediately (activesupport issue?)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 Mar 2025 14:15:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285758

--- Comment #3 from tanawts@gmail.com ---
ActiveSupport has a bug due to a change that requires explicit declaration of
dependency for logger.

I'm working on a patch, but in the meantime, you should be able to validate the
fix by editing: /usr/local/share/metasploit/config/application.rb


Near the very top, above require 'rails'
add the line: require 'logger'

The top of the config should read:

require 'fiddle'
Fiddle.const_set(:VERSION, '0.0.0') unless Fiddle.const_defined?(:VERSION)

require 'logger'
require 'rails'
require File.expand_path('../boot', __FILE__)

-- 
You are receiving this mail because:
You are the assignee for the bug.