summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAdam Spiers <aspiers@suse.com>2012-11-19 15:35:44 +0000
committerAdam Spiers <adam@pacific-wired.linksys.moosehall>2012-11-19 15:35:44 +0000
commit93e2ddf57fea5e1c4a50c7cd5fdfd530e0561850 (patch)
treeb796c425a2b9923ee6dcb03821728ec456e20c5a /Rakefile
parentd84c5056f458efb4b26fa9d4b1ee7065e11dea10 (diff)
downloadchef-93e2ddf57fea5e1c4a50c7cd5fdfd530e0561850.tar.gz
[CHEF-3619] fix obsolete require of 'rake/rdoctask'
'rake/doctask' has been deprecated for quite a while but since version 10.0.0, rake no longer simply warns, and now fails with a cryptic error: $ rake -T rake aborted! GONE /home/adam/chef/Rakefile:24:in `require' /home/adam/chef/Rakefile:24:in `<top (required)>' /home/adam/.rvm/gems/ruby-1.9.3-p194@chef/bin/ruby_noexec_wrapper:14:in `eval' /home/adam/.rvm/gems/ruby-1.9.3-p194@chef/bin/ruby_noexec_wrapper:14:in `<main>' (See full trace by running task with --trace)
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 4340493908..b227bd3e7a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -21,7 +21,7 @@ require File.dirname(__FILE__) + '/lib/chef/version'
require 'rubygems'
require 'rubygems/package_task'
-require 'rake/rdoctask'
+require 'rdoc/task'
require './tasks/rspec.rb'
GEM_NAME = "chef"