Created
August 13, 2014 18:28
-
-
Save evanphx/dba97762fda80610269f to your computer and use it in GitHub Desktop.
gem_permadelete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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