{"id":22379149,"url":"https://github.com/sky-uk/ruby-buildpack","last_synced_at":"2025-07-31T01:31:53.732Z","repository":{"id":34439322,"uuid":"38373349","full_name":"sky-uk/ruby-buildpack","owner":"sky-uk","description":"A fork of Cloud Foundry's ruby buildpack","archived":false,"fork":false,"pushed_at":"2015-07-01T14:28:42.000Z","size":23344,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2023-07-07T11:02:00.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sky-uk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-01T13:43:27.000Z","updated_at":"2023-07-07T11:02:00.371Z","dependencies_parsed_at":"2022-09-14T06:11:35.768Z","dependency_job_id":null,"html_url":"https://github.com/sky-uk/ruby-buildpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-uk%2Fruby-buildpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-uk%2Fruby-buildpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-uk%2Fruby-buildpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-uk%2Fruby-buildpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sky-uk","download_url":"https://codeload.github.com/sky-uk/ruby-buildpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228204604,"owners_count":17884711,"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":[],"created_at":"2024-12-04T23:09:06.972Z","updated_at":"2024-12-04T23:09:07.586Z","avatar_url":"https://github.com/sky-uk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud Foundry buildpack: Ruby\n\nA Cloud Foundry [buildpack](http://docs.cloudfoundry.org/buildpacks/) for Ruby based apps.\n\nThis is based on the [Heroku buildpack] (https://github.com/heroku/heroku-buildpack-ruby).\n\nAdditional information can be found at [CloudFoundry.org](http://docs.cloudfoundry.org/buildpacks/).\n\n## Usage\n\nThis 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.\n\n```bash\ncf push my_app -b https://github.com/cloudfoundry/buildpack-ruby.git\n```\n\n## Disconnected environments\nTo use this buildpack on Cloud Foundry, where the Cloud Foundry instance limits some or all internet activity, please read the [Disconnected Environments documentation](https://github.com/cf-buildpacks/buildpack-packager/blob/master/doc/disconnected_environments.md).\n\n### Vendoring app dependencies\nAs stated in the [Disconnected Environments documentation](https://github.com/cf-buildpacks/buildpack-packager/blob/master/doc/disconnected_environments.md), your application must 'vendor' it's dependencies.\n\nFor the Ruby buildpack, use bundler:\n\n```shell \ncd \u003cyour app dir\u003e\nbundle package --all\n```\n\n```cf push``` uploads your vendored dependencies. The buildpack will compile any dependencies requiring compilation while staging your application.\n\n## Building\n\nThe buildpack only supports the two most stable patches for each dependency in the [manifest.yml](manifest.yml).\n\n1. Make sure you have fetched submodules\n\n  ```bash\n  git submodule update --init\n  ```\n\n1. Get latest buildpack dependencies\n\n  ```shell\n  BUNDLE_GEMFILE=cf.Gemfile bundle\n  ```\n\n1. Build the buildpack\n\n  ```shell\n  BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager [ uncached | cached ]\n  ```\n\n1. Use in Cloud Foundry\n\n    Upload the buildpack to your Cloud Foundry and optionally specify it by name\n        \n    ```bash\n    cf create-buildpack custom_ruby_buildpack ruby_buildpack-cached-custom.zip 1\n    cf push my_app -b custom_ruby_buildpack\n    ```  \n\n### Deprecated Versions\n\nIf you would like to build the buildpack with previously supported dependency versions, provide the `--use-custom-manifest=manifest-including-unsupported.yml` option to `buildpack-packager`.\n\n## Contributing\n\nFind our guidelines [here](./CONTRIBUTING.md).\n\n## Reporting Issues\n\nOpen an issue on this project\n\n## Active Development\n\nThe project backlog is on [Pivotal Tracker](https://www.pivotaltracker.com/projects/1042066)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsky-uk%2Fruby-buildpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsky-uk%2Fruby-buildpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsky-uk%2Fruby-buildpack/lists"}