devcontainers / devcontainers/features

Ruby Bundle install fails due to permission error

Open
#871 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.