문제

I'm using OpenVZ on CentOS 6.5 64bit and every morning I'm getting message with following content:

/etc/cron.daily/owp.cron:

/usr/lib64/ruby/gems/1.8/gems/rake-10.1.1/lib/rake/rdoctask.rb:2: ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead. (RuntimeError)

from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /opt/ovz-web-panel//script/cron_runner:11

Can anybody advise what to do?

도움이 되었습니까?

해결책

Seems I have fixed this issue by running following in SSH:

gem install rdoc-rake

No more warning.

다른 팁

rake/rdoctask is obsolete. Change it to rdoc/task in your Rakefile.

Check this issue for more details.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top