Permalink
Browse files

fixes something I guess

  • Loading branch information...
1 parent f1c9302 commit 5bf19d1d57e4679b6a6aca2abc5fc125140f8b9c @nofxx committed Feb 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -1,7 +1,7 @@
require 'rubygems'
require 'rake'
require 'rake/clean'
-require 'rake/rdoctask'
+require 'rake/task'
#require 'spec/rake/spectask'
CLEAN.include('**/*.gem')
@@ -31,7 +31,7 @@ end
# spec.rcov = true
# end
-Rake::RDocTask.new do |rdoc|
+Rake::Task.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION').chomp : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "postgis_adapter #{version}"

0 comments on commit 5bf19d1

Please sign in to comment.