Permalink
Browse files

Make rdoc a development dependency

  • Loading branch information...
1 parent 5244c43 commit e43f2d334493c7354e92cfacc4c4d273b9fd072d Rafael Mendonça França committed Nov 16, 2012
Showing with 3 additions and 7 deletions.
  1. +2 −0 Gemfile
  2. +1 −7 Rakefile
View
@@ -1,2 +1,4 @@
source "http://rubygems.org"
gemspec
+
+gem 'rdoc'
View
@@ -6,13 +6,7 @@ rescue LoadError
raise 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
-begin
- require 'rdoc/task'
-rescue LoadError
- require 'rdoc/rdoc'
- require 'rake/rdoctask'
- RDoc::Task = Rake::RDocTask
-end
+require 'rdoc/task'
RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'

0 comments on commit e43f2d3

Please sign in to comment.