1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

Fix rake when cucumber gem is not present

This commit is contained in:
Brandon Turner 2014-09-11 22:31:57 -05:00
parent 55519d8867
commit ba848c963a
No known key found for this signature in database
GPG Key ID: 0F82931CA3EE1B07

View File

@ -13,7 +13,12 @@ begin
t.profile = 'boot'
end
end
rescue LoadError
desc 'cucumber rake task not available (cucumber not installed)'
task :cucumber do
abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
end
end
end