feat: add ruby plugin
Metadata
Current evaluation
Merged the Ruby plugin, resolving #338. Adds a shared ruby-deps part, tests, and documentation. CI compilation failures were resolved by switching to mruby and adjusting defaults to skip interpreter building. Approved by two reviewers.
Suggested action: —
No scores available.
Issue body
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Fixes #338. The goal is to update the abandoned PR #341 as follows:
1. Don't recompile Ruby every time, i.e. allow for a ruby-deps part that can be shared by other parts
2. Add tests
3. Add docs
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged the Ruby plugin, resolving #338. Adds a shared ruby-deps part, tests, and documentation. CI compilation failures were resolved by switching to mruby and adjusting defaults to skip interpreter building. Approved by two reviewers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged pull request adding a Ruby plugin. Resolved CI failures by switching to mruby and adjusting build variables. The plugin defaults to a system Ruby interpreter, raising an error if missing, and includes tests and docs. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1474 docs: fix Ruby plugin docs examples | craft-parts | merged | Documentation update merged fixing broken Ruby plugin examples. Added missing source property to ruby-deps and separated custom interpreter examples to resolve mruby gem incompatibility. Approved by two reviewers. | |
| #1544 plugins: add the ruby plugin | snapcraft | merged | Merged the Ruby plugin addition to Snapcraft. Approved by three reviewers with passing CI checks. Commits were preserved via a two-commit squash, and the main commit title was adjusted per reviewer feedback before final merge. | |
| #1394 WIP: Ruby plugin | craft-parts | closed | Superseded by PR #1395. The Ruby plugin branch was closed because its naming convention accidentally created a protected branch. The replacement PR implements the shared ruby-deps part, tests, and documentation originally requested. | |
| #1407 feat: Ruby plugin self-contained mode | craft-parts | merged | Merged a feature introducing a ruby-self-contained flag for Ruby parts. This enables local gem packaging and enforces bundle install --local to guarantee dependency isolation. Approved by reviewers and passed CI validation. | |
| #5976 test: add Ruby plugin spread tests | snapcraft | merged | Merged after review and CI approval. Adds Ruby plugin spread tests to resolve #5966. Retargeted to the hotfix/8.14 branch to align with the plugin's introduction. |