Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2025 14:15:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285758] security/metasploit: Fails immediately (activesupport issue?)
Message-ID:  <bug-285758-7788-UHNJXSQWEp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-285758-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-285758-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285758

--- 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__)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285758-7788-UHNJXSQWEp>