{"id":15403784,"url":"https://github.com/palkan/ruby-dip","last_synced_at":"2026-01-24T16:01:30.447Z","repository":{"id":66167936,"uuid":"283517508","full_name":"palkan/ruby-dip","owner":"palkan","description":"Docker-based development environment for hacking Ruby MRI","archived":false,"fork":false,"pushed_at":"2022-08-06T00:12:25.000Z","size":2,"stargazers_count":30,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T05:11:33.440Z","etag":null,"topics":["docker","ruby"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/palkan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-29T14:13:09.000Z","updated_at":"2023-08-19T08:04:45.000Z","dependencies_parsed_at":"2023-05-07T02:17:06.320Z","dependency_job_id":null,"html_url":"https://github.com/palkan/ruby-dip","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"dfe49346ddca1efa86b9e22409df351b97d1deb6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palkan%2Fruby-dip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palkan%2Fruby-dip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palkan%2Fruby-dip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palkan%2Fruby-dip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palkan","download_url":"https://codeload.github.com/palkan/ruby-dip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249213879,"owners_count":21231096,"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":["docker","ruby"],"created_at":"2024-10-01T16:10:04.169Z","updated_at":"2026-01-24T16:01:30.241Z","avatar_url":"https://github.com/palkan.png","language":"Dockerfile","readme":"# Ruby MRI development with Docker and Dip\n\nThe repo contains Docker and [Dip][] configuration for developing Ruby MRI.\n\n## Usage\n\n- Clone Ruby to next to this project's folder:\n\n```sh\ngit clone https://github.com/ruby/ruby.git ../ruby\n```\n\nIf you want to keep Ruby source code in the different location, create a `dip.override.yml` file with following contents:\n\n```yml\n# dip.override.yml\nenvironment:\n  RUBY_SRC_PATH: \"relative/path/to/ruby\"\n```\n\n- Install [Dip][]\n\n- Provision the dev container and volumes:\n\n```sh\ndip provision\n```\n\n- Run make tasks with Dip:\n\n```sh\ndip make\n\n# for example, to run pattern matching tests\ndip make test-all TESTS='test/ruby/test_pattern_matching.rb'\n```\n\n- Login into the container:\n\n```sh\ndip bash\n```\n\n- (Optionally for VS Code users) Run container in the background and connect to it via [Remote Containers](https://code.visualstudio.com/docs/remote/attach-container) feature:\n\n```sh\ndip up -d dev\n\n# go to Remote-Container: Attach to Running Container...\n# and chooose ruby_dev_1\n```\n\n## Acknowledgments\n\nInspired by [@kirs][] post [\"Contributing to Ruby MRI\"](https://kirshatrov.com/2020/01/11/contributing-to-mri/).\nThe main difference is that the setup from this repo is IDE-agnostic (and at the same time plays well with VS Code Remote Containers).\n\n## Resources\n\n- [Contributing to Ruby MRI](https://kirshatrov.com/2020/01/11/contributing-to-mri/)\n- [Ruby Hack challenge repo](https://github.com/ko1/rubyhackchallenge/tree/master/EN)\n- [VM stacks \"puts-debugging\" gist](https://gist.github.com/palkan/dcab4ed0978dfe6f55f9b6533d3e80a9)\n\n[Dip]: https://github.com/bibendi/dip\n[@kirs]: https://github.com/kirs\n","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalkan%2Fruby-dip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalkan%2Fruby-dip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalkan%2Fruby-dip/lists"}