Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

WARNING: 'require 'rake/rdoctask'' is deprecated #35

Open
redic opened this issue Oct 15, 2012 · 0 comments
Open

WARNING: 'require 'rake/rdoctask'' is deprecated #35

redic opened this issue Oct 15, 2012 · 0 comments

Comments

@redic
Copy link

redic commented Oct 15, 2012

After 'rake' ! get warning:

WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
But .js was generated fine.

I change:

git diff
diff --git a/Rakefile b/Rakefile
index 2258128..63baf0c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,6 @@
require 'rake'
require 'rake/testtask'
-require 'rake/rdoctask'
+require 'rake/task'

WYSIHAT_ROOT = File.expand_path(File.dirname(FILE))
WYSIHAT_SRC_DIR = File.join(WYSIHAT_ROOT, 'src')

And no warning. And still .js was generated fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant