Se instala la gema de check in Bash en

if `gem list lunchy -i`; then 
  echo "Lunchy gem is installed!"; 
  # do some configuration here
fi
Crazy Chicken