How to remove Ruby Gems that could not install correctly

Is there an established way to “clean up” Ruby Gems that have their own extensions that could not be created. There are directories / files left in the gems directory, however the gem --local list does not indicate them as installed. e.g. sqlite3-ruby, linecache, mongo

+3
source share
2 answers

There is no predefined method. The good news is that with 1.9.2, this should not count them as gems (I assume you are at 1.9.1)?

0
source

Here's how you can remove a specific version of a gem:

gem uninstall (gem name here) --version (version number here)

:

gem uninstall (gem name here) --version '<(version number here)'

.

+1

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


All Articles