set shebang in gem bins to system ruby

This commit is contained in:
Andre Arko 2013-12-05 16:04:14 -08:00
parent e77d54d397
commit 7c0f1c9086

View file

@ -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'