Commit 8f0aefe20b74a11e81371bbf8d37c626f407accd
Exists in
master
and in
1 other branch
Merge pull request #180 from wesgarrison/patch-1
Prevent rake 0.9.2.2 from failing when clearing default task
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
Rakefile
| @@ -7,7 +7,7 @@ require 'bundler' | @@ -7,7 +7,7 @@ require 'bundler' | ||
| 7 | 7 | ||
| 8 | Errbit::Application.load_tasks | 8 | Errbit::Application.load_tasks |
| 9 | 9 | ||
| 10 | -Rake::Task[:default].clear | 10 | +Rake::Task[:default].clear if Rake::Task.task_defined?(:default) |
| 11 | 11 | ||
| 12 | namespace :spec do | 12 | namespace :spec do |
| 13 | desc "Preparing test env" | 13 | desc "Preparing test env" |