undefined method `reset' for RDoc::TopLevel:Class when installing a new Ruby gem
Clash Royale CLAN TAG #URR8PPP 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 2.5.1 The installed RDoc version is $ gem search rdoc -l *** LOCAL GEMS *** rdoc (4.2.2, 4.2.1) I installed Ruby with RVM on Mac OS X El Capitan. Thanks! I have exactly the same environment as you do, except for ruby version (mine is ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15] ), and had no problem installing the gem. ...