Recently I decided to switch over to OpenShift (RedHat) for Octopress (Jekyll) and other small projects. Github is nice to work with for public repo’s and forkable stuff but if you want something to be private you have to have another pricing plan, which OpenShift doesn’t have (3 free apps with enough resources). Heroku is also a nice environment, but can only have 1 app, the other one(s) will be helt asleep after x hours, and there are no resources available, you’ll have to buy extra dyno’s which are quit expensive to be honest.
I always use a VM for my Ruby (or other) projects, from which I work in, so I can make snapshots, revert any things etc. Before installing OpenShift I had an up- and running Ruby environment, so my tutorial might slighty look different from yours.
Create OpenShift account
Click on Add Application
Install Ruby 1.9 application (click on the cartridge)
Leave all settings at default and put in your application name
Copy the git repository URL that OpenShift gives you on step 2 and write it down somewhere. Example: