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
For Rails 4 - remove the gem name from Gemfile and then run bundle install in your terminal. Also restart the server afterwards.
Gemfile
bundle install