8

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?

Tom Hale
  • 40,825
  • 36
  • 187
  • 242

1 Answers1

17

Based on info in this GitHub issue, I did:

gem install rdoc

After that, the error no longer appeared.

Tom Hale
  • 40,825
  • 36
  • 187
  • 242