Skip to content

Instantly share code, notes, and snippets.

@evanphx
Created August 13, 2014 18:28
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 evanphx/dba97762fda80610269f to your computer and use it in GitHub Desktop.
Save evanphx/dba97762fda80610269f to your computer and use it in GitHub Desktop.
gem_permadelete
#!/bin/sh
if [ -z "$1" ]; then
echo "gem_permdelete <gem name>"
exit 1
fi
echo "Connecting to rubygems.org..."
exec ssh -t -C app02.production.rubygems.org "cd /applications/rubygems/current && sudo -u deploy ./script/permadelete $1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment