metasploit-framework/lib/gemcache/ruby/1.9.1/gems/fssm-0.2.9/ext/rakefile.rb

15 lines
426 B
Ruby

# -*- encoding: utf-8 -*-
$LOAD_PATH.unshift(File.expand_path('../lib', File.dirname(__FILE__)))
require 'rubygems/dependency_installer'
require 'fssm'
# semi-elegant solution or hack? *shrug*
task :default do
name, version = FSSM::Support.optimal_backend_dependency
if name and version
installer = Gem::DependencyInstaller.new({:domain => :both, :env_shebang => true})
installer.install name, version
end
end