diff --git a/lib/metasploit/framework/command/base.rb b/lib/metasploit/framework/command/base.rb index d7fa9e200d..62b3515a2a 100644 --- a/lib/metasploit/framework/command/base.rb +++ b/lib/metasploit/framework/command/base.rb @@ -60,11 +60,6 @@ class Metasploit::Framework::Command::Base # the configuration from the parsed options. parsed_options.configure(Rails.application) - # support disabling the database - unless parsed_options.options.database.disable - Metasploit::Framework::Require.optionally_active_record_railtie - end - Rails.application.require_environment! parsed_options