I've made bundle update a now I have still rake/rdoctask deprecated warning after running rake command.
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
at /home/cheetah/.rvm/gems/ruby-1.8.7-p302@tobiska/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
I tried to read this tip http://matthew.mceachen.us/blog/howto-fix-rake-rdoctask-is-deprecated-use-rdoc-task-instead-1169.html but my Rakefile is OK.
I have no idea, how to solve this problem. Any tips? Thanks a lot.
Martin
You can have multiple versions of rake on your system and you can view them by running
$ gem list
=> rake
(0.9.2.2, 0.9.2, 0.8.7) To define a version in my project, define it in the Gemfile as
gem 'rake', '0.8.7'
then run
bundle update rake
Your project version is now as specified in the Gemfile and your WARNING is now gone.
In addition to change Gemfile and run 'bundle update rake' need run for me too:
gem uninstall rake -v 0.9.2.2
gem uninstall rake -v 0.9.2
gem install rake -v 0.8.7
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With