Last active
August 29, 2015 14:21
-
-
Save alexleventer/931d9bab08ecdb4ecc2e to your computer and use it in GitHub Desktop.
Ruby Ubuntu Distelli Manifest
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
<username>/RubyUbuntuSimpleApp: | |
# This Basic Distelli Manifest assumes the following | |
# has been provisioned on the destination deploy server: | |
# | |
# OS: Ubuntu | |
# | |
Env: | |
- PORT: 8003 | |
- STAGE: production | |
PreInstall: | |
- gem install bundle | |
Exec: | |
- source ~/.rvm/scripts/rvm | |
- rvm use 1.9.3 | |
- exec ./bundle/bin/thin start -p $PORT -e $STAGE | |
PostInstall: | |
- source ~/.rvm/scripts/rvm | |
- rvm use 1.9.3 | |
- bundle install --binstubs $DISTELLI_APPHOME/bundle/bin --standalone --path $DISTELLI_APPHOME/bundle/lib | |
PkgInclude: | |
- lib/simplerubyapp/*.rb | |
- Gemfile | |
- config.ru | |
- SimpleRubyApp.gemspec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment