Undefined `reset 'method for RDoc :: TopLevel: class when installing a new ruby ​​gem

For instance,

$ gem install netaddr
Fetching: netaddr-1.5.1.gem (100%)
Successfully installed netaddr-1.5.1
ERROR:  While executing gem ... (NoMethodError)
    undefined method `reset' for RDoc::TopLevel:Class

The NoMethodError exception continues to grow when I install a new stone. I searched for it and searched for problems in the RDoc and RubyGems GitHub repositories, but no luck.

My version of Ruby

$ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]

RubyGems Version

$ gem -v
2.5.1

Installed RDoc Version

$ gem search rdoc -l

*** LOCAL GEMS ***

rdoc (4.2.2, 4.2.1)

I installed Ruby with RVM on Mac OS X El Capitan.

Thank!

+4
source share

Source: https://habr.com/ru/post/1651482/


All Articles