Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

heroku/heroku-buildpack-ruby

Heroku's classic buildpack for Ruby applications.

heroku/heroku-buildpack-ruby.json
{
"createdAt": "2011-05-24T15:14:41Z",
"defaultBranch": "main",
"description": "Heroku's classic buildpack for Ruby applications.",
"fullName": "heroku/heroku-buildpack-ruby",
"homepage": "https://devcenter.heroku.com/categories/ruby-support",
"language": "Ruby",
"name": "heroku-buildpack-ruby",
"pushedAt": "2025-11-25T18:32:50Z",
"stargazersCount": 792,
"topics": [
"buildpack",
"heroku",
"heroku-languages",
"ruby"
],
"updatedAt": "2025-11-18T22:34:13Z",
"url": "https://github.com/heroku/heroku-buildpack-ruby"
}

ruby

This is a Heroku Buildpack for Ruby, Rack, and Rails apps. It uses Bundler for dependency management.

This buildpack requires 64-bit Linux.

Example Usage:

$ ls
Gemfile Gemfile.lock
$ heroku create --buildpack heroku/ruby
$ git push heroku main
...
-----> Heroku receiving push
-----> Fetching custom buildpack
-----> Ruby app detected
-----> Installing dependencies using Bundler version 1.1.rc
Running: bundle install --without development:test --path vendor/bundle --deployment
Fetching gem metadata from http://rubygems.org/..
Installing rack (1.3.5)
Using bundler (1.1.rc)
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
-----> Discovering process types
Procfile declares types -> (none)
Default types for Ruby -> console, rake

The buildpack will detect your app as Ruby if it has a Gemfile and Gemfile.lock files in the root directory. It will then proceed to run bundle install after setting up the appropriate environment for ruby and Bundler.

For more information about using Ruby and buildpacks on Heroku, see these Dev Center articles:

To use this buildpack, fork it on Github. Push up changes to your fork, then create a test app with --buildpack <your-github-url> and push to it.

Terminal window
$ bundle exec hatchet install
Terminal window
$ bundle exec rake spec