On Saturday, June 22, 2013 6:41:16 PM UTC-5, John Merlino wrote:

> How do I uninstall spree and all of the gems that were installed along 
> with it?
>

Assuming you're working in bash:

for gem in $(gem list spree --no-versions); do
  echo "working on $gem"
  gem uninstall $gem
done

"gem uninstall" asks you if you really want to uninstall if there are 
dependencies.

But there are a lot of third-party dependencies that spree needed, and 
installed.  Want to just clean up everything that you don't use and start 
over again with your system gemset? Do the same without the spree filter. 
 It'll uninstall everything that doesn't have a dependency without asking, 
and ask you if it does.

for gem in $(gem list --no-versions); do
  echo "working on $gem"
  gem uninstall $gem
done


--Ivan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/40c59220-c6dc-45da-ae0a-ba3cc90b5aa5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to