How to uninstall all gems installed using `bundle install`

后端 未结 10 1953
情歌与酒
情歌与酒 2020-12-23 17:09

How can I remove all the gems installed using bundle install in a particular RoR project. I don\'t want to uninstall gems that are used by other projects.

10条回答
  •  忘掉有多难
    2020-12-23 18:00

    You can use (like Tobias says, if you are using RVM)

    rvm gemset empty [gemset]

    Directly on the gemset, for example

    rvm gemset empty 2.0.0@server
    

提交回复
热议问题