Created
October 13, 2009 00:10
-
-
Save damm/208863 to your computer and use it in GitHub Desktop.
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
gemcount=`gem list --local something | wc -l` | |
if [ "${gemcount}" = "1" ] | |
then | |
echo "OK: it's installed" | |
exit 0 | |
else | |
echo "I am sorry but #{gemcount} != 1" | |
exit 1 | |
fi | |
else |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment