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 the files it created on my application. In other words, I want to restore the system to what it used to be before the gem. How can I do this? (I'm using Ruby on Rails 3.)
You can remove the Devise gem from your Gemfile and then run bundle install . The gem should then be removed. To be safe, you can also run the following: gem uninstall gem_name from the command line.
You can use
gem uninstall <gem-name>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With