{"id":13880555,"url":"https://github.com/heroku/buildpacks-ruby","last_synced_at":"2026-03-06T01:35:31.360Z","repository":{"id":37481356,"uuid":"305188173","full_name":"heroku/buildpacks-ruby","owner":"heroku","description":"Heroku's Cloud Native Buildpack for Ruby applications.","archived":false,"fork":false,"pushed_at":"2026-03-01T11:04:21.000Z","size":2103,"stargazers_count":28,"open_issues_count":22,"forks_count":7,"subscribers_count":42,"default_branch":"main","last_synced_at":"2026-03-01T14:53:16.318Z","etag":null,"topics":["cloud-native-buildpacks","heroku","heroku-languages","ruby"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heroku.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-10-18T20:15:55.000Z","updated_at":"2026-02-24T16:28:46.000Z","dependencies_parsed_at":"2023-10-01T11:54:54.099Z","dependency_job_id":"4ba0ad79-be5f-4d74-af24-3d454c42bf7e","html_url":"https://github.com/heroku/buildpacks-ruby","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/heroku/buildpacks-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fbuildpacks-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fbuildpacks-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fbuildpacks-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fbuildpacks-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heroku","download_url":"https://codeload.github.com/heroku/buildpacks-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroku%2Fbuildpacks-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30157846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"ssl_error","status_checked_at":"2026-03-05T22:39:24.771Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-native-buildpacks","heroku","heroku-languages","ruby"],"created_at":"2024-08-06T08:03:11.288Z","updated_at":"2026-03-06T01:35:31.348Z","avatar_url":"https://github.com/heroku.png","language":"Rust","readme":"# Heroku Cloud Native Buildpacks: Ruby\n\n[![Cloud Native Buildpacks Registry: heroku/ruby][registry-badge]](https://registry.buildpacks.io/buildpacks/heroku/ruby)\n[![CI on GitHub Actions: heroku/ruby](https://github.com/heroku/buildpacks-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/heroku/buildpacks-ruby/actions/workflows/ci.yml)\n\n![Heroku Cloud Native Buildpack: heroku/ruby](https://raw.githubusercontent.com/heroku/buildpacks/refs/heads/main/assets/images/buildpack-banner-ruby.png)\n\nBuild your Ruby and Rails application source code into an [OCI image](https://opencontainers.org/) with minimal configuration, no `Dockerfile` required. To learn more about what a CNB is, how they work, and how to use one to build your application, see the [Heroku CNB documentation][heroku-buildpacks].\n\n\u003e [!IMPORTANT]\n\u003e This is a collection of [Cloud Native Buildpacks][cnb], and is a component of the [Heroku Cloud Native Buildpacks][heroku-buildpacks] project. If you are instead looking for the Heroku Classic Buildpack for Ruby, you may find it [here][classic-buildpack]. To read about differences between the buildpacks see [docs/upgrading.md](docs/upgrading.md).\n\n## Usage\n\n\u003e [!NOTE]\n\u003e Before getting started, ensure you have the [`pack` CLI installed][pack-install].\n\nTo build a Ruby application codebase into a production image:\n\n```bash\n$ cd ~/workdir/sample-ruby-app\n$ pack build sample-app --builder heroku/builder:24\n```\n\n\u003e [!NOTE]\n\u003e You can skip needing to pass the `--builder` flag by setting a default builder with `pack config default-builder heroku/builder:24`.\n\nThen run the image:\n\n```bash\ndocker run --rm -it -e \"PORT=9292\" -p 9292:9292 sample-app\n```\n\nFor detailed usage documentation see [Heroku Cloud Native Buildpacks][heroku-buildpacks].\n\n## Application Requirements\n\nThe `heroku/ruby` buildpack requires applications have a valid `Gemfile` and `Gemfile.lock` in the root of their project.\n\nFor more details you can view the [Ruby buildpack's specification](docs/application_contract.md) which goes into detail on buildpack behavior and enumerates the expected contract between your application and the buildpack.\n\n## Configuration\n\n### Ruby version\n\nTo select a Ruby version, specify it in your `Gemfile` like this:\n\n```ruby\nruby \"3.3.0\"\n```\n\nAnd ensure it is in your `Gemfile.lock` by running:\n\n```\n$ bundle update --ruby\n```\n\nYou should see a section in the `Gemfile.lock` that corresponds to your Ruby version:\n\n```\nRUBY VERSION\n   ruby 3.3.0p0\n```\n\nIf no Ruby version is found in the `Gemfile.lock` a default version of Ruby will be provided. We highly suggest specifying a version to prevent surprise changes.\n\n### Bundler version\n\nTo select a Bundler version, ensure your `Gemfile.lock` contains a locked value. For example:\n\n```\nBUNDLED WITH\n   2.5.6\n```\n\nIf no Bundler version is found in the `Gemfile.lock` a default version of Bundler will be provided. We highly suggest specifying a version to prevent surprise changes.\n\nFor more details you can view the [Ruby buildpack's specification](docs/application_contract.md) which goes into detail on buildpack behavior and enumerates the expected contract between your application and the buildpack.\n\n## Included Buildpacks\n\nThe `heroku/ruby` buildpack is a standalone buildpack. This is in contrast to some other buildpacks that are composed of several smaller buildpacks such as [heroku/nodejs](https://github.com/heroku/buildpacks-nodejs?tab=readme-ov-file#included-buildpacks).\n\n## Contributing\n\nIssues and pull requests are welcome. See our [contributing guidelines](CONTRIBUTING.md) if you would like to help.\n\n\n[cnb]: https://buildpacks.io\n[pack-install]: https://buildpacks.io/docs/for-platform-operators/how-to/integrate-ci/pack/\n[classic-buildpack]: https://github.com/heroku/heroku-buildpack-ruby\n[heroku-buildpacks]: https://github.com/heroku/buildpacks\n[registry-badge]: https://img.shields.io/badge/dynamic/json?url=https://registry.buildpacks.io/api/v1/buildpacks/heroku/ruby\u0026label=version\u0026query=$.latest.version\u0026color=DF0A6B\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAACSVJREFUaAXtWQ1sFMcVnp/9ub3zHT7AOEkNOMYYp4CQQFBLpY1TN05DidI2NSTF0CBFQAOBNrTlp0a14sipSBxIG6UYHKCO2ka4SXD4SUuaCqmoJJFMCapBtcGYGqMkDgQ4++52Z2e3b87es+/s+wNHVSUPsnZv9s2b97335v0MCI2NMQ2MaeD/WgP4FqQnX//2K4tVWfa0X+9+q/N4dfgWeESXPPjUUd+cu+5cYmMcPvzawQOtrdVG9GMaLxkD+OZDex6WVeUgwhiZnH1g62bNX4+sPpLGXvEkdPNzLd93e9y/cCnabIQJCnz+2Q9rNs9tjCdM9ltK9nGkb5jYxYjIyDJDSCLSV0yFHCr/XsObvQH92X+8u/b0SGvi5zZUn1joc/u2qapajglB4XAfUlQPoqpyRzxtqt8ZA+AIcQnZEb6WZSKCMSZUfSTLg8vv/86e3b03AztO/u3p7pE2fvInfy70Tpi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9NAhHFxkXYOzbpvznd2dZ3b19Bwf8Qb3AJqpLCgsrYRC6ecqJjMM4A+lxFB2SCbiLlWGucF5RXRzFgNK6yAzwzX551+MVswxABxOefmP3etS5a2YSuVizjkfBAo9l0tzyCDbSqKC7YUIu/daOFB3pbUxrf721B0rc/w+9zrYfK2K5QlhcCvnfFCigUr6L0ucDA3KeR8iYO3U8y8M6+ZGBDAgIc0vWl5BEakiijQTYmhkWpEVEBwOELgUt+y3QtysuXT21ahGoujSePl3/qpiRVK2wO3KY1ClyuJ8YHATcDPIyhQFud6JbfKr1vZz+xehd0a8e08GICKC318xzpejrpUQ3UAkaZK4yoGU/HduWts72hsPpyFnSpL2wjWlFNFfSoSWipqIWVYP1J27rwcCL839eF9PMgYpATiLJ01eOs2jaU+D03508cK/9iHUkm6F4LBI+hTlc9m0BSsVSufcCBkvzu7afSHpgrGPYxoY00BEA/8FOPrYBqYsE44AAAAASUVORK5CYII=\u0026labelColor=white\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroku%2Fbuildpacks-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheroku%2Fbuildpacks-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroku%2Fbuildpacks-ruby/lists"}