Fix a crash when we can't connect to PG, again
parent
fa27def41f
commit
c3e8bc8fa0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue