Skip to content
Cloud Foundry buildpack for Ruby, Sinatra and Rails
Branch: master
Clone or download
#2 Compare This branch is 1 commit ahead, 1451 commits behind cloudfoundry:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
cf_spec
compile-extensions @ 6f91ed7
config
lib
spec
support/s3
vendor
.gitignore
.gitmodules
.travis.yml
CHANGELOG
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
VERSION
cf.Gemfile
cf.Gemfile.lock
hatchet.json
manifest.yml

README.md

Cloud Foundry buildpack: Ruby

A Cloud Foundry buildpack for Ruby based apps.

This is based on the [Heroku buildpack] (https://github.com/heroku/heroku-buildpack-ruby).

Additional information can be found at CloudFoundry.org.

Usage

This buildpack will be used if your app has a Gemfile and Gemfile.lock in the root directory. It will then use Bundler to install your dependencies.

cf push my_app -b https://github.com/cloudfoundry/buildpack-ruby.git

Disconnected environments

To use this buildpack on Cloud Foundry, where the Cloud Foundry instance limits some or all internet activity, please read the Disconnected Environments documentation.

Vendoring app dependencies

As stated in the Disconnected Environments documentation, your application must 'vendor' it's dependencies.

For the Ruby buildpack, use bundler:

cd <your app dir>
bundle package --all

cf push uploads your vendored dependencies. The buildpack will compile any dependencies requiring compilation while staging your application.

Contributing

Run the Tests

See the Machete CF buildpack test framework for more information.

Pull Requests

  1. Fork the project
  2. Submit a pull request

Reporting Issues

Open an issue on this project

Active Development

The project backlog is on Pivotal Tracker

You can’t perform that action at this time.