aboutsummaryrefslogtreecommitdiff
path: root/src/ruby/feature.json
diff options
context:
space:
mode:
authorJosh Spicer <josh@joshspicer.com>2022-05-12 23:10:51 +0300
committerGitHub <noreply@github.com>2022-05-12 23:10:51 +0300
commit3a277ad757dbc51a43a5dd452d030c67a49d49f1 (patch)
tree7d4f27493f946d8792b2ff5b6383258cb9f03ce0 /src/ruby/feature.json
parent2707a37ca0d4a45c7487f856bf95f8c5e10bce94 (diff)
restructure and update cli (#11)
* restructure and update cli * typo
Diffstat (limited to 'src/ruby/feature.json')
-rw-r--r--src/ruby/feature.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/ruby/feature.json b/src/ruby/feature.json
new file mode 100644
index 0000000..3ba0a36
--- /dev/null
+++ b/src/ruby/feature.json
@@ -0,0 +1,25 @@
+{
+ "id": "ruby",
+ "name": "Ruby (via rvm)",
+ "options": {
+ "version": {
+ "type": "string",
+ "proposals": ["latest", "3.1", "3.0", "2.7"],
+ "default": "latest",
+ "description": "Select or enter a Ruby version to install"
+ }
+ },
+ "extensions": [
+ "rebornix.Ruby"
+ ],
+ "containerEnv": {
+ "GEM_PATH": "/usr/local/rvm/gems/default:/usr/local/rvm/gems/default@global",
+ "GEM_HOME": "/usr/local/rvm/gems/default",
+ "MY_RUBY_HOME": "/usr/local/rvm/rubies/default",
+ "PATH": "/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:${PATH}"
+ },
+ "install": {
+ "app": "",
+ "file": "install.sh"
+ }
+} \ No newline at end of file