Skip to content

Commit

Permalink
Rely on gem instead of command to check Foreman's availability (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstosik authored Jan 14, 2022
1 parent 3219e1d commit 7f5a45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install/dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

if ! command -v foreman &> /dev/null
if ! gem list --silent --installed foreman
then
echo "Installing foreman..."
gem install foreman
Expand Down

0 comments on commit 7f5a45d

Please sign in to comment.