Skip to content
Browse files

Fixing RDoc task warning.

  • Loading branch information...
1 parent 08fbd80 commit a2364bc4435cccfa9f2545467116e0c26a4bef8d @czarneckid czarneckid committed Nov 7, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −0 Gemfile
  2. +2 −2 Rakefile
View
1 Gemfile
@@ -6,6 +6,7 @@ group :development do
gem "bundler"
gem "jeweler"
gem "rcov"
+ gem "rdoc"
end
gem 'redis'
View
4 Rakefile
@@ -40,8 +40,8 @@ Rcov::RcovTask.new do |test|
test.verbose = true
end
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
+require 'rdoc/task'
+RDoc::Task.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'

0 comments on commit a2364bc

Please sign in to comment.
Something went wrong with that request. Please try again.