2012-04-15 23:35:38 -05:00
|
|
|
#
|
2013-01-08 22:58:45 -06:00
|
|
|
# Use bundler to load dependencies
|
2012-04-15 23:35:38 -05:00
|
|
|
#
|
|
|
|
|
|
2013-01-08 22:58:45 -06:00
|
|
|
ENV['BUNDLE_GEMFILE'] ||= ::File.expand_path(::File.join(::File.dirname(__FILE__), "..", "Gemfile"))
|
|
|
|
|
begin
|
|
|
|
|
require 'bundler/setup'
|
|
|
|
|
rescue ::LoadError
|
|
|
|
|
$stderr.puts "[*] Metasploit requires the Bundler gem to be installed"
|
|
|
|
|
$stderr.puts " $ gem install bundler"
|
|
|
|
|
exit(0)
|
2012-04-15 23:35:38 -05:00
|
|
|
end
|