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

Build Ruby Gem: Some jobs were not successful #366

Closed
aerimforest opened this issue Oct 21, 2022 · 2 comments
Closed

Build Ruby Gem: Some jobs were not successful #366

aerimforest opened this issue Oct 21, 2022 · 2 comments
Labels

Comments

@aerimforest
Copy link

Hi, first of all, thank you for your wonderful theme.
If I modify the file and push, three workflows will be executed as shown below, and the Ruby Gem build will eventually fail like in the picture.
image


When I click on the failed workflow, it says test (2.6) failed.
image

If you look at the log, there is an error. I really don't know how to fix the error.

ERROR:  Error installing type-on-strap:
	The last version of rouge (>= 3.0, < 5.0) to support your Ruby & RubyGems was 3.30.0. Try installing it with `gem install rouge -v 3.30.0` and then running the current command again
	rouge requires Ruby version >= 2.7. The current ruby version is 2.6.10.210.  

I tried gem install rouge -v 3.30.0 and updated ruby. but it's still the same.

Run gem install type-on-strap
Successfully installed public_suffix-[5](https://github.com/aerimforest/aerimforest.github.io/actions/runs/3296756741/jobs/5438153304#step:7:6).0.0
Successfully installed addressable-2.8.1
Successfully installed colorator-1.1.0
Building native extensions. This could take a while...
Successfully installed http_parser.rb-0.8.0
Building native extensions. This could take a while...
Successfully installed eventmachine-1.2.7
Successfully installed em-websocket-0.5.3
Successfully installed concurrent-ruby-1.1.10
Successfully installed i18n-1.12.0
Building native extensions. This could take a while...
Successfully installed ffi-1.15.5
Building native extensions. This could take a while...
ERROR:  Error installing type-on-strap:
	The last version of rouge (>= 3.0, < 5.0) to support your Ruby & RubyGems was 3.30.0. Try installing it with `gem install rouge -v 3.30.0` and then running the current command again
	rouge requires Ruby version >= 2.7. The current ruby version is 2.[6](https://github.com/aerimforest/aerimforest.github.io/actions/runs/3296756741/jobs/5438153304#step:7:7).10.210.
Successfully installed sassc-2.4.0
Successfully installed jekyll-sass-converter-2.2.0
Successfully installed rb-fsevent-0.11.2
Successfully installed rb-inotify-0.10.1
Successfully installed listen-3.[7](https://github.com/aerimforest/aerimforest.github.io/actions/runs/3296756741/jobs/5438153304#step:7:8).1
Successfully installed jekyll-watch-2.2.1
Successfully installed kramdown-2.4.0
Successfully installed kramdown-parser-gfm-1.1.0
Successfully installed liquid-4.0.3
Successfully installed mercenary-0.4.0
Successfully installed forwardable-extended-2.6.0
Successfully installed pathutil-0.[16](https://github.com/aerimforest/aerimforest.github.io/actions/runs/3296756741/jobs/5438153304#step:7:17).2
Error: Process completed with exit code 1.
@sylhare
Copy link
Owner

sylhare commented Oct 21, 2022

Ah it seems Rouge is dropping support for Ruby 2.6, I don't see it in their GitHub action anymore: https://github.com/rouge-ruby/rouge

In my case I think it's Rouge 3.26.0 that is installed.

Let's remove 2.6 and add 3.1 instead.

@aerimforest
Copy link
Author

@sylhare Wow the error is resolved.
Thank you so much:-)

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

No branches or pull requests

2 participants