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
How about something like:
gem dependency devise --pipe | cut -d \ -f 1 | xargs gem uninstall -a
(this assumes that you're not using bundler - but I guess you're not since removing from your bundle gemspec would solve the problem)