summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-06-11 17:33:44 +0000
committermurphy <murphy@rubychan.de>2011-06-11 17:33:44 +0000
commit6e34311c87176aa082b097446558b518a95c0872 (patch)
treed04fe36158b03a1465480580116a9eb47717dece /Rakefile
parent960881251ea1f30753cfa94574caa315f31c5874 (diff)
downloadcoderay-6e34311c87176aa082b097446558b518a95c0872.tar.gz
update tasks for recent Rake versions
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 5edc131..d7a743a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,6 @@
$:.unshift File.dirname(__FILE__) unless $:.include? '.'
-require 'rake/rdoctask'
+gem 'rdoc' if defined? gem
+require 'rdoc/task'
ROOT = '.'
LIB_ROOT = File.join ROOT, 'lib'