{"id":20847605,"url":"https://github.com/paketo-buildpacks/mri","last_synced_at":"2026-05-06T08:01:05.361Z","repository":{"id":37047762,"uuid":"164918047","full_name":"paketo-buildpacks/mri","owner":"paketo-buildpacks","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-02T13:36:41.000Z","size":6359,"stargazers_count":7,"open_issues_count":14,"forks_count":8,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-02T14:57:48.579Z","etag":null,"topics":["cnb","ruby"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paketo-buildpacks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-09T18:41:09.000Z","updated_at":"2025-04-16T23:31:15.000Z","dependencies_parsed_at":"2023-12-22T01:00:44.743Z","dependency_job_id":"0fd45ca6-93ad-4e71-a998-354e33d33503","html_url":"https://github.com/paketo-buildpacks/mri","commit_stats":null,"previous_names":["cloudfoundry/mri-cnb","paketo-community/mri"],"tags_count":269,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paketo-buildpacks%2Fmri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paketo-buildpacks%2Fmri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paketo-buildpacks%2Fmri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paketo-buildpacks%2Fmri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paketo-buildpacks","download_url":"https://codeload.github.com/paketo-buildpacks/mri/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253662642,"owners_count":21944111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cnb","ruby"],"created_at":"2024-11-18T02:22:10.714Z","updated_at":"2026-03-09T14:14:50.159Z","avatar_url":"https://github.com/paketo-buildpacks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paketo Buildpack for MRI\n\n## `gcr.io/paketo-buildpacks/mri`\n\nThe MRI CNB provides the Matz's Ruby Interpreter (or MRI).\nThe buildpack installs MRI onto the `$PATH` which makes it available\nfor subsequent buildpacks and in the final running container. It also sets\nthe `$GEM_PATH` environment variable.\n\n## Integration\n\nThe MRI CNB provides `mri` as a dependency. Downstream buildpacks,\ncan require the mri dependency by generating\n[Build Plan TOML](https://github.com/buildpacks/spec/blob/master/buildpack.md#build-plan-toml)\nfile that looks like the following:\n\n```toml\n[[requires]]\n  # The name of the MRI dependency is \"mri\". This value is considered\n  # part of the public API for the buildpack and will not change without a plan\n  # for deprecation.\n  name = \"mri\"\n  # The version of the MRI dependency is not required. In the case it\n  # is not specified, the buildpack will provide the default version, which can\n  # be seen in the buildpack.toml file.\n  # If you wish to request a specific version, the buildpack supports\n  # specifying a semver constraint in the form of \"3.*\", \"3.2.*\", or even\n  # \"3.2.1\".\n  version = \"3.2.1\"\n  # The MRI buildpack supports some non-required metadata options.\n  [requires.metadata]\n    # Setting the build flag to true will ensure that the MRI\n    # depdendency is available on the $PATH for subsequent buildpacks during\n    # their build phase. If you are writing a buildpack that needs to use MRI\n    # during its build process, this flag should be set to true.\n    build = true\n```\n\n## Usage\n\nTo package this buildpack for consumption:\n```\n$ ./scripts/package.sh\n```\n\n## MRI Configurations\n\nSpecifying the `MRI` version through `buildpack.yml` configuration will be\ndeprecated in MRI Buildpack v1.0.0.\n\nTo migrate from using `buildpack.yml` please set the `$BP_MRI_VERSION`\nenvironment variable at build time either directly (ex. `pack build my-app\n--env BP_MRI_VERSION=3.2.*`) or through a [`project.toml`\nfile](https://github.com/buildpacks/spec/blob/main/extensions/project-descriptor.md)\n\n```shell\n$BP_MRI_VERSION=\"3.2.1\"\n```\nThis will replace the following structure in `buildpack.yml`:\n```yaml\nmri:\n  version: 3.2.1\n```\n\n## Logging Configurations\n\nTo configure the level of log output from the **buildpack itself**, set the\n`$BP_LOG_LEVEL` environment variable at build time either directly (ex. `pack\nbuild my-app --env BP_LOG_LEVEL=DEBUG`) or through a [`project.toml`\nfile](https://github.com/buildpacks/spec/blob/main/extensions/project-descriptor.md)\nIf no value is set, the default value of `INFO` will be used.\n\nThe options for this setting are:\n- `INFO`: (Default) log information about the progress of the build process\n- `DEBUG`: log debugging information about the progress of the build process\n\n```shell\n$BP_LOG_LEVEL=\"DEBUG\"\n```\n\n## Compatibility\n\nThis buildpack is supported on the Paketo Jammy and Noble stack distributions.\nPre-compiled distributions of Ruby are provided for the Paketo stacks (i.e.\n`io.buildpacks.stacks.jammy` and `io.buildpacks.stacks.noble`).\n\n### Stack-Specific Version Constraints\n\n**Ruby 4.x requires Noble or later**\n\nRuby 4.x versions require GLIBC 2.38 or later, which is not available in the Jammy stack (GLIBC 2.35).\nRuby 4.x binaries will only be provided for the Noble stack. If you need to use Ruby on Jammy, please use\nRuby 3.x versions (3.2 and later are supported on Jammy).\n\n## Development\n\nPaketo buildpacks are going through an uniformization of the dev experience across buildpacks,\nfor now just check the [`scripts/`](scripts/) folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaketo-buildpacks%2Fmri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaketo-buildpacks%2Fmri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaketo-buildpacks%2Fmri/lists"}