Giter Site home page Giter Site logo

Comments (4)

inukshuk avatar inukshuk commented on September 28, 2024

Why are you trying to make this run using old Gems? I don't think the old macOS version should give you any problems as long as you've installed a sufficiently recent version of Ruby. The error message above is certainly caused by some combination of running the Gem with an incompatible Ruby version. So if possible, I'd try to install the latest versions of jekyll and jekyll-scholar.

If there's some other reason why you have to stick with an older version of either of the two that's another matter of course. To answer your question it looks like this commit broke with jekyll 3.x. It was tagged 7.1.3 so I'd guess that the versions before that should work with jekyll 3.9.

from jekyll-scholar.

mabalenk avatar mabalenk commented on September 28, 2024

I tried running the latest and greatest Ruby, Jekyll and Jekyll-Scholar, but serving the website locally failed with the 'sass' gem error: Jekyll::Converters::Scss:

Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss':
                    end of file reached
bundler: failed to load command: jekyll (/Users/mabalenk/.rbenv/versions/3.2.2/bin/jekyll)
/Users/mabalenk/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/sass-embedded-1.68.0-x86_64-darwin/lib/sass/embedded/varint.rb:20:in `readbyte': end of file reached (EOFError)

I posted more details on the Jekyll forum. Maybe you know how to solve it? As a workaround I decided to downgrade Jekyll to 3.9.3. This brought a cascade of changes to Ruby and Jekyll-Scholar.

I will try to follow your suggestion. Thank you for your help!

from jekyll-scholar.

mabalenk avatar mabalenk commented on September 28, 2024

I just tried using v7.1.2 of Jekyll-Scholar. It depends on Jekyll 4 and therefore fails:

Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Could not find compatible versions

Because jekyll-scholar >= 6.0.0 depends on jekyll ~> 4.0
  and Gemfile depends on jekyll = 3.9.3,
  jekyll-scholar >= 6.0.0 cannot be used.
So, because Gemfile depends on jekyll-scholar = 7.1.2,
  version solving has failed.

I need the latest version compatible with Jekyll v3.9.3. Can you please suggest one?

from jekyll-scholar.

inukshuk avatar inukshuk commented on September 28, 2024

Versions 5.x should be good.

However, I'd really stay up on the latest Gem versions and instead figure out if there's an alternative sass/scss Gem you can use. Judging by the error message you posted the native code used by newer sass versions may not work on your OS so maybe that's why the conversion fails (or there's an sass/scss issue in your stylesheet).

from jekyll-scholar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.