Skip to content

Commit a146e54

Browse files
committed
Use ruby command "gem list" to check for foreman
1 parent f264e3f commit a146e54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/install/dev

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22

3-
if ! foreman version &> /dev/null
4-
then
3+
if ! gem list -i foreman; then
54
echo "Installing foreman..."
65
gem install foreman
76
fi

0 commit comments

Comments
 (0)