2014-08-15 18:33:31 +02:00
|
|
|
#!/usr/bin/env rake
|
|
|
|
require File.expand_path('../config/application', __FILE__)
|
|
|
|
require 'metasploit/framework/require'
|
2013-03-18 17:01:45 +01:00
|
|
|
|
2014-08-15 18:33:31 +02:00
|
|
|
# @note must be before `Metasploit::Framework::Application.load_tasks`
|
2013-03-14 21:46:18 +01:00
|
|
|
#
|
2014-08-15 18:33:31 +02:00
|
|
|
# define db rake tasks from activerecord if activerecord is in the bundle. activerecord could be not in the bundle if
|
|
|
|
# the user installs with `bundle install --without db`
|
|
|
|
Metasploit::Framework::Require.optionally_active_record_railtie
|
2013-03-07 21:22:35 +01:00
|
|
|
|
2014-08-15 18:33:31 +02:00
|
|
|
Metasploit::Framework::Application.load_tasks
|