gem uninstall -r [GEMNAME] This is a simple Ruby script that uninstalls gem dependencies recursively. usage: gem_uninstall_r.rb GEMNAME Related: http://stackoverflow.com/questions/952836/do-i-have-to-manually-uninstall-all-dependent-gems http://stackoverflow.com/questions/3001425/uninstall-rails-3-with-dependencies rubygems/rubygems#133