aboutsummaryrefslogtreecommitdiff
path: root/collection/ruby/feature.json
diff options
context:
space:
mode:
authorJosh Spicer <josh@joshspicer.com>2022-05-10 01:16:15 +0300
committerGitHub <noreply@github.com>2022-05-10 01:16:15 +0300
commit9efe4b3c4a5f07c45cf6ed69900006eed0e844b9 (patch)
tree1c120109a1794b913a3c71df0a456eb0ad411a54 /collection/ruby/feature.json
parent8759124c532d93b6e1ab38e391554d287b956d83 (diff)
init (#1)
* init * some copy pastin * install.sh ref * fixes
Diffstat (limited to 'collection/ruby/feature.json')
-rw-r--r--collection/ruby/feature.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/collection/ruby/feature.json b/collection/ruby/feature.json
new file mode 100644
index 0000000..3ba0a36
--- /dev/null
+++ b/collection/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