Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errno::EACCES: Permission denied @ rb_file_s_rename - #198

Open
rodolfoap opened this issue May 1, 2020 · 1 comment
Open

Errno::EACCES: Permission denied @ rb_file_s_rename - #198

rodolfoap opened this issue May 1, 2020 · 1 comment

Comments

@rodolfoap
Copy link

rodolfoap commented May 1, 2020

Just reporting this FYI. I don't know ruby at all, it seems that at the time I'm reporting this the jekyll/builder docker image was updated 17 hours ago, so it seems that the problem below is caused by such update. Using FROM jekyll/builder:3 and FROM jekyll/jekyll:3 fixes the issue for me.

Steps to reproduce:

$ git clone ... & cd documentation-theme-jekyll
$ docker-compose build
Building server
Step 1/10 : FROM jekyll/builder
 ---> 1cadb9406f49
Step 2/10 : WORKDIR /tmp
 ---> Using cache
 ---> 94e81d234dcb
Step 3/10 : ADD Gemfile /tmp/
 ---> Using cache
 ---> 2921bab1371e
Step 4/10 : ADD Gemfile.lock /tmp/
 ---> Using cache
 ---> 0f2a4ead235a
Step 5/10 : RUN bundle install
 ---> Running in d2ad6c42e879
Fetching gem metadata from https://rubygems.org/.........
Fetching concurrent-ruby 1.1.5
Errno::EACCES: Permission denied @ rb_file_s_rename -
(/home/jekyll/.gem/ruby/2.7.0/cache/concurrent-ruby-1.1.5.gem,
/usr/gem/cache/concurrent-ruby-1.1.5.gem)
An error occurred while installing concurrent-ruby (1.1.5), and Bundler cannot
continue.
Make sure that `gem install concurrent-ruby -v '1.1.5' --source
'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  github-pages was resolved to 198, which depends on
    jekyll-mentions was resolved to 1.4.1, which depends on
      html-pipeline was resolved to 2.11.0, which depends on
        activesupport was resolved to 4.2.11.1, which depends on
          i18n was resolved to 0.9.5, which depends on
            concurrent-ruby
ERROR: Service 'server' failed to build: The command '/bin/sh -c bundle install' returned a non-zero code: 5
$ 
@JuanJoanJon
Copy link

Same issue here, and same solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants