aboutsummaryrefslogtreecommitdiff
path: root/src/ruby/devcontainer-feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruby/devcontainer-feature.json')
-rw-r--r--src/ruby/devcontainer-feature.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/ruby/devcontainer-feature.json b/src/ruby/devcontainer-feature.json
new file mode 100644
index 0000000..919cf47
--- /dev/null
+++ b/src/ruby/devcontainer-feature.json
@@ -0,0 +1,25 @@
+{
+ "id": "ruby",
+ "name": "Ruby (via rvm)",
+ "options": {
+ "version": {
+ "type": "string",
+ "proposals": ["latest", "none", "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