Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix warning about deprecated require

  • Loading branch information...
commit a9bb8ddfee730792805a30ada9dd28b978477cfd 1 parent fe9d4df
@langalex authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 Rakefile
View
6 Rakefile
@@ -3,7 +3,11 @@ Bundler::GemHelper.install_tasks
require 'rake'
require "rspec/core/rake_task"
-require 'rake/rdoctask'
+begin
+ require 'rdoc/task'
+rescue LoadError
+ require 'rake/rdoctask'
+end
task :default => :spec
Please sign in to comment.
Something went wrong with that request. Please try again.