From: Grant Slater Date: Thu, 24 Aug 2023 06:15:01 +0000 (+0100) Subject: Use /usr/bin/env to find ruby. Improves cross platform support X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/b005795324502747e627568112c0e1cb22a89a1f Use /usr/bin/env to find ruby. Improves cross platform support --- diff --git a/hooks/pre-commit b/hooks/pre-commit index a55ac2a93..449a8c6f2 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby ok = true