Is there 开发者_开发百科a prescribed way to "clean up" Ruby Gems which have native extensions that have failed to build. There are directories/files left in the gems directory, however gem list --local does not list them as being installed. e.g. sqlite3-ruby, linecache, mongo
here is how you can remove a specific version of the gem:
gem uninstall (gem name here) --version (version number here)
to remove gems from a specific version and back use:
gem uninstall (gem name here) --version '<(version number here)'
this will remove all lesser versions.
no predefined way. The good news is that with 1.9.2, it should not count these as gems anymore (I assume that you're on 1.9.1)?
精彩评论