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

bug/bundler_fix
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
1 changed files with 0 additions and 5 deletions

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