Changes to run on Cloud Foundry v2 with ruby buildpack.