Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Dockerfile.mri.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ RUN bash -c " \
for v in ${RBENV_RUBIES} ; do \
rbenv install \$v -- --disable-install-doc ; \
done && \
find ${RBENV_ROOT} -type d -print0 | sudo xargs -0 chmod g+w \
find ${RBENV_ROOT} -type d -print0 | sudo xargs -0 chmod g+w && \
find ${RBENV_ROOT} -path '*/plugins/*.rb' -print0 | sudo xargs -0 chmod g+w \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only difference is that the permission of the directory isn't adjusted. I think it's not necessary, but to be sure I added gem-wrapper per commit 2db60b4 to the tests. Just to make sure new rubygem plugins install without permission error.

"

# Install rake-compiler and patch it to build and install static libraries for Linux rubies
Expand Down Expand Up @@ -278,7 +279,4 @@ RUN bash -c "rbenv global 4.0.1"

ENV RUBY_CC_VERSION=4.0.1:3.4.8:3.3.10:3.2.10:3.1.7:3.0.7

# TODO: Move to native ruby install above, at the next minor release
RUN sudo chmod go+w /usr/local/rbenv/versions/*/lib/ruby/gems/*/plugins -R

CMD bash
Loading