Cloud Foundry buildpack for Ruby, Sinatra and Rails
Ruby HTML CSS Other
Pull request Compare This branch is 642 commits ahead, 11 commits behind heroku:master.
Latest commit 2b6fb37 Feb 22, 2017 bot Revert "Add bundler 1.14.5, remove bundler 1.14.3 [#140373173]"
This reverts commit 689cb4a.

Cloud Foundry Ruby Buildpack

CF Slack Join us on Slack

A Cloud Foundry buildpack for Ruby based apps.

This is based on the Heroku buildpack.

Additional information can be found at

Buildpack User Documentation

Official buildpack documentation can be found at

Building the Buildpack

  1. Make sure you have fetched submodules

    git submodule update --init
  2. Get latest buildpack dependencies

    BUNDLE_GEMFILE=cf.Gemfile bundle
  3. Build the buildpack

    BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager [ --uncached | --cached ]
  4. Use in Cloud Foundry

    Upload the buildpack to your Cloud Foundry and optionally specify it by name

    cf create-buildpack custom_ruby_buildpack 1
    cf push my_app -b custom_ruby_buildpack


Buildpacks use the Machete framework for running integration tests.

To test a buildpack, run the following command from the buildpack's directory:

BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-build

More options can be found on Machete's Github page.


Find our guidelines here.

Help and Support

Join the #buildpacks channel in our Slack community if you need any further assistance.

Reporting Issues

Please fill out the issue template fully if you'd like to start an issue for the buildpack.

Active Development

The project backlog is on Pivotal Tracker