installed gem list code example
Example: bash check in gem is installed
if `gem list lunchy -i`; then
echo "Lunchy gem is installed!";
# do some configuration here
fi
if `gem list lunchy -i`; then
echo "Lunchy gem is installed!";
# do some configuration here
fi