Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better handle new rake/old rdoc combination in Rakefile

Instead of just rescuing just LoadError, rescue StandardError
exceptions as well. New rake raises a RuntimeError when
rake/rdoctask is required.
  • Loading branch information...
commit 00577939589e105e97fc741f95f88934b68b1f6b 1 parent 86458c3
@jeremyevans authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Rakefile
View
2  Rakefile
@@ -56,7 +56,7 @@ rescue LoadError
begin
require "rake/rdoctask"
Rake::RDocTask
- rescue LoadError
+ rescue LoadError, StandardError
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.