Skip to content

Commit

Permalink
Fix rake when cucumber gem is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
bturner-r7 committed Sep 12, 2014
1 parent 55519d8 commit ba848c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/tasks/custom_cucumber.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ba848c9

Please sign in to comment.