Created
September 12, 2014 14:56
-
-
Save limhoff-r7/26cff2864a455defb08f to your computer and use it in GitHub Desktop.
Adding metasploit-yard to gem Rakfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use find_all_by_name instead of find_by_name as find_all_by_name will return pre-release versions | |
gem_specification = Gem::Specification.find_all_by_name('metasploit-yard').first | |
Dir[File.join(gem_specification.gem_dir, 'lib', 'tasks', '**', '*.rake')].each do |rake| | |
load rake | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment