1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-09-04 20:18:27 +02:00

Fix a crash when we can't connect to PG, again

This commit is contained in:
James Lee 2014-08-20 11:02:46 -05:00
parent fa27def41f
commit c3e8bc8fa0
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321

View File

@ -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