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

Error installing xcop inside a Docker container #4

Closed
volodya-lombrozo opened this issue Jan 14, 2023 · 3 comments · Fixed by #5
Closed

Error installing xcop inside a Docker container #4

volodya-lombrozo opened this issue Jan 14, 2023 · 3 comments · Fixed by #5

Comments

@volodya-lombrozo
Copy link
Contributor

@g4s8 We experience some problems when using xcop-action for our pipelines. xcop-action just fails during an installation step.
The error message:

ERROR:  Error installing xcop:
[81](https://github.com/objectionary/eo/actions/runs/3910262074/jobs/6682255756#step:2:81)
  	The last version of nokogiri (~> 1.10) to support your Ruby & RubyGems was 1.13.10. Try installing it with `gem install nokogiri -v 1.13.10` and then running the current command again
[82](https://github.com/objectionary/eo/actions/runs/3910262074/jobs/6682255756#step:2:82)
  	nokogiri requires Ruby version >= 2.7, < 3.3.dev. The current ruby version is 2.6.10.210.
[83](https://github.com/objectionary/eo/actions/runs/3910262074/jobs/6682255756#step:2:83)
  Successfully installed racc-1.6.2
[84](https://github.com/objectionary/eo/actions/runs/3910262074/jobs/6682255756#step:2:84)
  The command '/bin/sh -c gem install xcop' returned a non-zero code: 1

Full log right here

@g4s8
Copy link
Owner

g4s8 commented Jan 14, 2023

@volodya-lombrozo try using some stable version to avoid docker building in GH actions, e.g. g4s8/xcop-action@1.0 instead of g4s8/xcop-action@master

@volodya-lombrozo
Copy link
Contributor Author

@g4s8 It doesn't work. Please, have a look on that PR: objectionary/eo#1685
xcop-action still fails here (even if we use specific version 1.0).

@yegor256
Copy link

@g4s8 @volodya-lombrozo I believe, upgrading to Ruby 3.0 will solve the problem: https://github.com/g4s8/xcop-action/blob/master/Dockerfile#L1

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

Successfully merging a pull request may close this issue.

3 participants