Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Breaks for github actions #137

Closed
ProfaneServitor opened this issue Dec 25, 2022 · 5 comments
Closed

Breaks for github actions #137

ProfaneServitor opened this issue Dec 25, 2022 · 5 comments

Comments

@ProfaneServitor
Copy link

ProfaneServitor commented Dec 25, 2022

When I try to deploy a site using github actions, and it uses sass, this error appears:

Fetching html-pipeline 2.14.3
Installing html-pipeline 2.14.3
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/github/workspace/vendor/bundle/ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass
/usr/local/bin/ruby -I/usr/local/lib/ruby/2.7.0/rubygems -rrubygems
/github/workspace/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/exe/rake
RUBYARCHDIR\=/github/workspace/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux-musl/2.7.0/sass-embedded-1.57.1
RUBYLIBDIR\=/github/workspace/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux-musl/2.7.0/sass-embedded-1.57.1
rake aborted!
NotImplementedError: sass_embedded for x86_64-linux-musl not available at
https://github.com/sass/dart-sass-embedded/releases/tag/1.57.1
/github/workspace/vendor/bundle/ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass/Rakefile:226:in
`default_sass_embedded'
/github/workspace/vendor/bundle/ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass/Rakefile:21:in
`block (2 levels) in <top (required)>'
/github/workspace/vendor/bundle/ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass/Rakefile:21:in
`fetch'
/github/workspace/vendor/bundle/ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass/Rakefile:21:in
`block in <top (required)>'
/github/workspace/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/exe/rake:27:in
`<main>'
Tasks: TOP => default => install => embedded.rb => sass_embedded
(See full trace by running task with --trace)

rake failed, exit code 1
@ntkme
Copy link
Contributor

ntkme commented Dec 25, 2022

Duplicate of #85, #104, #106. Alpine based ruby container image simply won't work. Official ruby image based on debian would work. Please report the issue to https://github.com/helaili/jekyll-action

@ProfaneServitor
Copy link
Author

Ok

@ntkme
Copy link
Contributor

ntkme commented Dec 25, 2022

Also, try this starter template which should work: https://github.com/actions/starter-workflows/blob/main/pages/jekyll.yml

@ProfaneServitor
Copy link
Author

Thanks, I think I already did.

Currently I'm trying to make a multilingual documentation repository using Polyglot, and it depends on jekyll-pagination, which depends on sass.

@ntkme
Copy link
Contributor

ntkme commented Dec 25, 2022

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

No branches or pull requests

2 participants