github / pages-gem

A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages
http://pages.github.com
MIT License
1.82k stars 349 forks source link

Failed to serve site #893

Open LauraVrkmp opened 9 months ago

LauraVrkmp commented 9 months ago

Before submitting an issue, please be sure to

This issue affects

The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.

What did you do (e.g., steps to reproduce)

I followed the installation steps up and including 'bundle exec jekyll serve'.

What did you expect to happen?

The site to be served.

What happened instead?

I got the following error and the site did not serve.

/var/lib/gems/3.1.0/gems/sass-embedded-1.69.5-x86_64-linux/lib/sass/embedded/connection.rb:41: warning: /var/lib/gems/3.1.0/gems/sass-embedded-1.69.5-x86_64-linux/ext/sass/dart-sass/src/dart: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so: invalid ELF header Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss':
end of file reached bundler: failed to load command: jekyll (/usr/local/bin/jekyll)

Additional information

parkr commented 9 months ago

It's impossible to help you without a link to the source. My first check would be to see if all the Sass files (including imports) are present, especially for your theme if you're using one.

known-samy commented 8 months ago

.