diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ruby/devcontainer-feature.json | 4 | ||||
-rwxr-xr-x | src/ruby/install.sh | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/ruby/devcontainer-feature.json b/src/ruby/devcontainer-feature.json index 3cccec3..9e617d0 100644 --- a/src/ruby/devcontainer-feature.json +++ b/src/ruby/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "ruby", - "version": "1.0.3", + "version": "1.0.4", "name": "Ruby (via rvm)", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/ruby", "description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.", @@ -29,6 +29,6 @@ "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}" + "PATH": "/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:${PATH}" } }
\ No newline at end of file diff --git a/src/ruby/install.sh b/src/ruby/install.sh index 62a096b..6ff3b2f 100755 --- a/src/ruby/install.sh +++ b/src/ruby/install.sh @@ -263,9 +263,6 @@ if [ "${SKIP_RBENV_RBUILD}" != "true" ]; then -c fetch.fsck.zeroPaddedFilemode=ignore \ -c receive.fsck.zeroPaddedFilemode=ignore \ https://github.com/rbenv/rbenv.git /usr/local/share/rbenv - - ln -s /usr/local/share/rbenv/bin/rbenv /usr/local/bin - updaterc 'eval "$(rbenv init -)"' fi if [[ ! -d "/usr/local/share/ruby-build" ]]; then |