Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash check in gem is installed

if `gem list lunchy -i`; then 
  echo "Lunchy gem is installed!"; 
  # do some configuration here
fi
Source by til.hashrocket.com #
 
PREVIOUS NEXT
Tagged: #bash #check #gem #installed
ADD COMMENT
Topic
Name
6+2 =