2014-08-15 16:33:31 +00:00
|
|
|
#!/usr/bin/env rake
|
|
|
|
require File.expand_path('../config/application', __FILE__)
|
|
|
|
require 'metasploit/framework/require'
|
2013-03-18 16:01:45 +00:00
|
|
|
|
2014-08-15 16:33:31 +00:00
|
|
|
# @note must be before `Metasploit::Framework::Application.load_tasks`
|
2013-03-14 20:46:18 +00:00
|
|
|
#
|
2014-08-15 16:33:31 +00: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 20:22:35 +00:00
|
|
|
|
2014-08-15 16:33:31 +00:00
|
|
|
Metasploit::Framework::Application.load_tasks
|