How to remove gem from Ruby on Rails application?

后端 未结 6 1659
长情又很酷
长情又很酷 2020-12-08 04:29

I have installed a gem on my Rails application (devise). After I installed the gem, I realized that I don\'t need it.

I want to remove the gem, its dependencies and

6条回答
  •  离开以前
    2020-12-08 04:50

    You are using some sort of revision control, right? Then it should be quite simple to restore to the commit before you added the gem, or revert the one where you added it if you have several revisions after that you wish to keep.

提交回复
热议问题