Skip to content

Instantly share code, notes, and snippets.

@topfunky
Created November 12, 2008 23:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topfunky/24308 to your computer and use it in GitHub Desktop.
Save topfunky/24308 to your computer and use it in GitHub Desktop.
desc "Uninstall all Merb gems for a fresh start"
task "merb:uninstall" do
cmd = [
"gem list",
"grep merb",
"cut -d ' ' -f 1",
"xargs sudo gem uninstall --all"
].join(" | ")
system(cmd)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment