Last active
August 29, 2015 14:21
-
-
Save alexleventer/90b86f56226b16f673ef to your computer and use it in GitHub Desktop.
Ruby CentOS 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>/RubyCentOSSimpleApp: | |
# This Basic Distelli Manifest assumes the following | |
# has been provisioned on the destination deploy server: | |
# | |
# OS: CentOS | |
# | |
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