From 7c0f1c90861c1948e1b16148999809671875bc74 Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Thu, 5 Dec 2013 16:04:14 -0800 Subject: [PATCH] set shebang in gem bins to system ruby --- script/bootstrap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/bootstrap b/script/bootstrap index e050227..f2459f9 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -25,3 +25,6 @@ set -e # Bundle install unless we're already up to date. /usr/bin/bundle install --binstubs bin --path .bundle --quiet "$@" + +# Fix the binstubs to use system ruby +find bin -type f -print0 | xargs -0 sed -i '' 's|/usr/bin/env ruby|/usr/bin/ruby|g' \ No newline at end of file