devcontainers / devcontainers/features
Ruby Bundle install fails due to permission error
Open
- Dominant language
- Shell
- Stars
- 1.5k
- Forks
- 621
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 4
Description
When using `ghcr.io/devcontainers/features/ruby:1": {}` with `mcr.microsoft.com/devcontainers/base:jammy` image. Whenever `bundle install` command is run it fails with the following error:
> Installing aws-sdk-core 3.191.2
> Bundler::PermissionError: There was an error while trying to create
> `/usr/local/rvm/gems/ruby-3.3.0/extensions/x86_64-linux/3.3.0/bigdecimal-3.1.6`. It is likely that you need to grant executable
> permissions for all parent directories and write permissions for `/usr/local/rvm/gems/ruby-3.3.0/extensions/x86_64-linux/3.3.0`
Contributor guide
Assessment
This issue has not been assessed yet.