Ruby server environment management tools
Required Files:
Your .git/config should know about the remotes you will be using to deploy to the server (usually just origin) as it will pull information about the remote from your local config file
On your ruby servers you should create a .rvmrc in the home directory of the user running unicorn.
rvm_install_on_use_flag=1
rvm_gemset_create_on_use_flag=1
rvm_trust_rvmrcs_flag=1
ors deploy commands assume you are using unicorn for your servers.
run ors help
for a list of commands to use.
Deploying to the staging website
bundle exec ors deploy to staging
Deploying a feature branch to the production website
bundle exec ors deploy origin/feature_branch
Deploying a feature branch to the staging website
bundle exec ors deploy origin/feature_branch to staging