Created
December 13, 2016 10:17
-
-
Save sts/88e0084b942bfcefe53c5663ef673777 to your computer and use it in GitHub Desktop.
Deploy Ruby CLI with Bundler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
export BUNDLE_GEMFILE=/usr/share/app/Gemfile | |
export BUNDLE_PATH=/usr/share/app/vendor | |
unset BUNDLE_IGNORE_CONFIG | |
#Test: bundle install --verbose --deployment | |
exec /usr/bin/ruby -rbundler/setup /usr/share/app/bin/app.rb $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment