Skip to content

Commit ba14f99

Browse files
authored
Merge pull request #93 from elalemanyo/main
Use ruby command "gem list" for foreman existence test
2 parents 6b91d50 + fcdb172 commit ba14f99

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: lib/install/dev

+1-2
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 foreman -i --silent; then
54
echo "Installing foreman..."
65
gem install foreman
76
fi

0 commit comments

Comments
 (0)