From ddebd51a4128654ab3720ecf7f201c621c8cdc22 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Fri, 5 Jan 2024 15:17:28 +0100 Subject: [PATCH] dev: Use an affirmative conditional (#174) ...and avoid regex in match. (Try a gem list ails vs a gem list --exact ails to see what I mean.) --- lib/install/dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install/dev b/lib/install/dev index a4e05fa..eda330c 100755 --- a/lib/install/dev +++ b/lib/install/dev @@ -1,6 +1,6 @@ #!/usr/bin/env sh -if ! gem list foreman -i --silent; then +if gem list --no-installed --exact --silent foreman; then echo "Installing foreman..." gem install foreman fi