Do I have to manually uninstall all dependent gems?

前端 未结 9 2165
名媛妹妹
名媛妹妹 2020-12-08 06:50

I tried to uninstall datamapper using the command gem uninstall dm-core.

But it seems that a whole bunch of dependent gems also need to be uninstalled.

9条回答
  •  暖寄归人
    2020-12-08 07:18

    As far as I know you're correct, there is not an easy way built-in to the gem command to do this.

    However, you can check out gem-prune which can help clean up your gem repository after you've removed dm-core.

    http://github.com/ddollar/gem-prune/tree/master

提交回复
热议问题