undefined method `reset' for RDoc::TopLevel:Class when installing a new Ruby gem
问题 For example, $ 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 keeps being raised when I install any new gem. I googled about it and searched issues in RDoc and RubyGems GitHub repositories, but had no luck. My Ruby version is $ ruby -v ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15] The RubyGems version is $ gem -v