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

Fails to install github-pages with v3.1.0 version of jekyll-sass-converter #172

Open
Mathiyarasy opened this issue Feb 7, 2025 · 3 comments

Comments

@Mathiyarasy
Copy link

Hello Team

I am unable to install "github-pages" gems after the release of v3.1.0,.

Error message 👇

"sass" from sass conflicts with installed executable from sass-embedded

Bundler version: v2.6.3
sass-embedded : v 1.62.1
Temporary workaround: forcing jekkyll-sass-converter version to 3.0.0 before installing github-pages works fine.

example:
gem install sass-embedded -v 1.62.1 
gem install jekyll-sass-converter -v 3.0.0 
gem install jekyll github-pages 

@Mathiyarasy Mathiyarasy changed the title Fails to install github-pages with v3.1.0 Fails to install github-pages with v3.1.0 version of kekyll-sass-converter Feb 7, 2025
@Mathiyarasy Mathiyarasy changed the title Fails to install github-pages with v3.1.0 version of kekyll-sass-converter Fails to install github-pages with v3.1.0 version of jekyll-sass-converter Feb 7, 2025
@ashmaroli
Copy link
Member

Hello @Mathiyarasy,
Thank you for reporting this issue. However, I do not see a solution at arm's length.

github-pages is constrained to use the legacy Sass library via older version of Jekyll (at 3.x). Were you attempting to install
jekyll-sass-converter-3.1.0 via a Gemfile?

@Mathiyarasy
Copy link
Author

Hello @ashmaroli

Thank you for your quick response

jekyll-sass-converter is installed as a part of
gem install jekyll command in a docker file

Jekyll version 4.3.4 installed in our images: worked fine.

Started getting a issue for the same Jekyll version in the newer images

When compared the dependencies figured this jekyll-sass-converter is updated from version 3.0.0 to 3.1.0

Forcing it to install 3.0.0 resolved our issue..

@ashmaroli
Copy link
Member

The issue here is primarily conflicting executables with the same name.
jekyll-sass-converter (JSC) v3.0 allowed installing older versions of sass-embedded (v1.54 and above) while JSC-3.1 requires at least sass-embedded-1.75.
So, since you're able to successfully install JSC-3.0 without the conflict, it most probably means your Docker container is installing an older version of sass-embedded itself.

While I agree that the current situation isn't ideal, your specific situation has a clear path forward. Since your dev environment is a sandboxed docker container, you can choose to override the legacy sass executable (calling Ruby Sass API) with the modern sass executable (calling Dart Sass).

Regardless, this issue is not resolvable at the Jekyll Sass Converter project aiming to advocate using recent versions of Sass.

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