diff options
author | Adam Spiers <aspiers@suse.com> | 2012-11-19 15:35:44 +0000 |
---|---|---|
committer | Adam Spiers <adam@pacific-wired.linksys.moosehall> | 2012-11-19 15:35:44 +0000 |
commit | 93e2ddf57fea5e1c4a50c7cd5fdfd530e0561850 (patch) | |
tree | b796c425a2b9923ee6dcb03821728ec456e20c5a | |
parent | d84c5056f458efb4b26fa9d4b1ee7065e11dea10 (diff) | |
download | chef-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)
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |