Fix for when is GNU sed installed in homebrew with --default-names

This commit is contained in:
Stepan Stipl 2014-04-01 00:54:41 +01:00
parent 5c0a6c485a
commit 91eaef3628

View file

@ -27,4 +27,4 @@ set -e
/usr/bin/bundle install --binstubs bin --path .bundle --quiet "$@"
# Fix the binstubs to use system ruby
find bin -not -path 'bin/\.*' -type f -print0 | xargs -0 sed -i '' 's|/usr/bin/env ruby|/usr/bin/ruby|g'
find bin -not -path 'bin/\.*' -type f -print0 | xargs -0 /usr/bin/sed -i '' 's|/usr/bin/env ruby|/usr/bin/ruby|g'