Skip to content

Instantly share code, notes, and snippets.

@vmi
Last active August 9, 2017 01:06
Show Gist options
  • Save vmi/022db55f5d0c7cd28a2af4654bf2eca6 to your computer and use it in GitHub Desktop.
Save vmi/022db55f5d0c7cd28a2af4654bf2eca6 to your computer and use it in GitHub Desktop.
bundle install
#!/bin/bash
ruby=$(which ruby)
shebang=""
if [ "$ruby" != "/usr/bin/ruby" ]; then
shebang="--shebang=$ruby"
fi
set -x
bundle install --binstubs=vendor/bin --path=vendor/bundle $shebang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment