How to remove gem from Ruby on Rails application?

后端 未结 6 1681
长情又很酷
长情又很酷 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:52

    For Rails 4 - remove the gem name from Gemfile and then run bundle install in your terminal. Also restart the server afterwards.

提交回复
热议问题