Skip to content

Commit e98f7c8

Browse files
committed
feat(catalog): add multi_version config to Ruby
- Enable rbenv directory scanning (~/.rbenv/versions) - Track up to 3 supported versions - Add version_files (.ruby-version, Gemfile)
1 parent f83a178 commit e98f7c8

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

catalog/ruby.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,21 @@
77
"github_repo": "ruby/ruby",
88
"binary_name": "ruby",
99
"script": "install_ruby.sh",
10-
"notes": "Installed via rbenv for version management. Removes apt-managed Ruby in favor of rbenv.",
1110
"guide": {
1211
"display_name": "Ruby (rbenv)",
1312
"install_action": "reconcile",
1413
"order": 32
15-
}
14+
},
15+
"multi_version": {
16+
"enabled": true,
17+
"source": "endoflife",
18+
"product": "ruby",
19+
"max_versions": 3,
20+
"version_manager_dir": "~/.rbenv/versions",
21+
"version_prefix": "",
22+
"binary_subpath": "bin",
23+
"binary_name": "ruby",
24+
"version_files": [".ruby-version", "Gemfile"]
25+
},
26+
"notes": "Managed via rbenv for version management. Supports multiple concurrent versions."
1627
}

0 commit comments

Comments
 (0)