Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR: While executing gem ... (NameError) uninitialized constant Gem::RDoc

Tags:

rubygems

When trying to uninstall a gem (gem uinstall <gem-name>), I see:

ERROR:  While executing gem ... (NameError)
    uninitialized constant Gem::RDoc

How do I successfully uninstall a gem?

like image 384
Tom Hale Avatar asked Nov 11 '19 09:11

Tom Hale


1 Answers

Based on info in this GitHub issue, I did:

gem install rdoc

After that, the error no longer appeared.

like image 166
Tom Hale Avatar answered Oct 18 '22 06:10

Tom Hale