Skip to content

Conversation

@KaanYT
Copy link
Contributor

@KaanYT KaanYT commented Dec 1, 2025

Install a ruby from a zip

This is useful for:

  • Private plugins: Distribute ruby without requiring Git repositories
  • Corporate environments: Simplified distribution behind authentication
  • Faster installation: No Git history to clone

Note

Enables fetching ruby-build and ruby-install from ZIP archives (in addition to Git) with async install refactor and updated config/schema docs.

  • Ruby plugin:
    • Add prepare_source_in_tmp to handle PluginSource (Git or ZIP), including HTTP download and unzip.
    • Refactor installs to async: install_ruby_build and install_ruby_install now use the new helper; update_* methods await them.
    • Minor progress reporting during ZIP extraction.
  • Config/Schema:
    • Update settings.toml and schema/mise.json descriptions for settings.ruby.ruby_build_repo and settings.ruby.ruby_install_repo to accept Git or ZIP URLs.
  • Tests:
    • Extend e2e/core/test_ruby_install_slow with commented examples for ZIP-based ruby-install usage.

Written by Cursor Bugbot for commit 0df7bd1. This will update automatically on new commits. Configure here.

@jdx
Copy link
Owner

jdx commented Dec 1, 2025

Bugbot run

mise ls-remote ruby
```

## Build Configuration
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this information should instead go into settings.toml

@jdx
Copy link
Owner

jdx commented Dec 2, 2025

bugbot run

@jdx
Copy link
Owner

jdx commented Dec 3, 2025

bugbot run

@jdx jdx merged commit 8ba85dc into jdx:main Dec 3, 2025
29 checks passed
jdx pushed a commit that referenced this pull request Dec 4, 2025
### 🚀 Features

- **(config)** add support for netrc by @RobotSupervisor in
[#7164](#7164)
- **(lock)** add resolve_lock_info to core backends for checksum
fetching by @jdx in [#7180](#7180)
- **(ruby)** Install ruby from a zip file over HTTPS by @KaanYT in
[#7167](#7167)
- **(tasks)** add `usage` args to Tera context in run scripts by
@iamkroot in [#7041](#7041)

### 🐛 Bug Fixes

- **(lock)** validate platform qualifiers when reading from lockfile by
@jdx in [#7181](#7181)
- **(task)** retry shebang scripts on ETXTBUSY by @iamkroot in
[#7162](#7162)
- **(ui)** remove duplicate 'mise' prefix in verbose footer output by
@jdx in [#7174](#7174)

### 📦️ Dependency Updates

- bump usage-lib to 2.9.0 by @jdx in
[#7177](#7177)

### 📦 Registry

- remove duplicated ubi and github backends from gping by @risu729 in
[#7144](#7144)
- disable bashly test (not working in CI) by @jdx in
[#7173](#7173)
- disable cfn-lint test (failing in CI) by @jdx in
[#7176](#7176)

### Chore

- add fd to mise.toml by @blampe in
[#7178](#7178)

### New Contributors

- @RobotSupervisor made their first contribution in
[#7164](#7164)

## 📦 Aqua Registry Updates

#### New Packages (2)

- [`Kitware/CMake`](https://github.com/Kitware/CMake)
- [`quarto-dev/quarto-cli`](https://github.com/quarto-dev/quarto-cli)

#### Updated Packages (6)

- [`apache/jena`](https://github.com/apache/jena)
- [`apache/spark`](https://github.com/apache/spark)
-
[`danielfoehrKn/kubeswitch`](https://github.com/danielfoehrKn/kubeswitch)
-
[`danielfoehrKn/kubeswitch/switch-sh`](https://github.com/danielfoehrKn/kubeswitch/switch-sh)
- [`evilmartians/lefthook`](https://github.com/evilmartians/lefthook)
- [`updatecli/updatecli`](https://github.com/updatecli/updatecli)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants