📜  bash check in gem 已安装 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:46.941000             🧑  作者: Mango

代码示例1
if `gem list lunchy -i`; then 
  echo "Lunchy gem is installed!"; 
  # do some configuration here
fi