-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Update sass related tests for jekyll-sass-converter 3.x #9223
Conversation
@ashmaroli An alternative to this is to lock jekyll-sass-converter to 2.x in the Gemfile so that all tests would run against 2.x. Not sure which way is preferred. |
@ntkme We need to test with sass-converter-3.x because that's the way forward. We should ideally continue testing with sass-converter-2.x to check backwards-compatibility. But that aside, why does |
rubygems/rubygems#5852 See links above. This only applies to the “native gems” on Linux platform. Users on older rubygems can still install (and it should default to) platform ruby gem which does not have this limitation. - As far as I know that only case this cause problem is when someone has a lockfile generated with higher version of bundler/rubygems (locked to native gem) and later attempts to install the lockfile on lower version of bundler/rubygems. This issue is solvable by either generate the lockfile from older version of bundler/rubygems, or remove the lockfile, or just make sure the development version and deployment version of ruby/rubygems is the same. |
@ntkme, the following is the build log of a Netlify build of our docs site, on this branch:
|
@ashmaroli Yes, I just noticed that it is an issue for ruby 2.7 which by default comes with rubygems 3.1.6. I never noticed it before because ruby/setup-ruby would silently upgrade rubygems when it is too old so I have never seen it fail in GitHub Actions for ruby 2.7. |
So the minimum version of rubygems that works is 3.2.3: https://blog.rubygems.org/2020/12/22/3.2.3-released.html
All ruby 3.x comes with rubygems >=3.2.3, so this is only an issue for ruby 2.x. Upgrade to 3.x is probably the simplest solution or user will have to update rubygems. |
Okay @ntkme. Since we have zeroed onto the lowest Ruby version everything works as expected, I recommend updating the |
@ntkme Please revert the latest commit. We do not wish to enforce Ruby 3.x on contributors just yet. Netlify is configured separately from this repo. |
@ntkme Reverted. I was trying to see if that will fix the netlify build. Looks like the option here is to set |
The environment variable is set in the Netlify dashboard. I have changed it there to Ruby 3.1.2. |
Thanks @ntkme |
なつき: Update sass related tests for jekyll-sass-converter 3.x (#9223) Merge pull request 9223
Update sass related tests for jekyll-sass-converter 3.x This backports 572c86e to 4.3-stable
This is a 🐛 bug fix.
Summary
jekyll-sass-converter just had 3.0.0 release. While the API is compatible, the output is slightly different due to
compact
output style is no longer supported.Context
https://github.com/jekyll/jekyll-sass-converter/releases/tag/v3.0.0