Git Product home page Git Product logo

Comments (6)

ntkme avatar ntkme commented on May 27, 2024 1

You can pin jekyll-sass-converter to previous sassc based version by add the following to Gemfile:

gem 'jekyll-sass-converter', '~> 2.2'

from jekyll.

igor-petruk avatar igor-petruk commented on May 27, 2024

You can pin jekyll-sass-converter to previous sassc based version by add the following to Gemfile:

gem 'jekyll-sass-converter', '~> 2.2'

Thank you, I will try

from jekyll.

whitemossyoak64 avatar whitemossyoak64 commented on May 27, 2024

Summary

Installing a gem on OpenBSD fails

rake aborted!
NotImplementedError: dart-sass for x86_64-openbsd7.4 not available at https://github.com/sass/dart-sass/releases/tag/1.69.5


Caused by:


Tasks: TOP => default => install => cli.rb => dart-sass
(See full trace by running task with --trace)
rm -rf /usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.69.5/ext/sass/ruby

Motivation

It would be nice to use Jekyll on OpenBSD

Unresolved Questions

I am reporting it here, because there is maybe a way to install it without this dependency or use some mitigation. OpenBSD support in dart-sass could be another issue

from jekyll.

fpusersuggest avatar fpusersuggest commented on May 27, 2024

hello guys, I installed jekyll on year 2022 without any problems on openbsd. But now I have the same problem as Igor.
To be honest I don't understand where should I have to add that string.. you say about a Gemfile..
so I have to create a random Gemfile and insert that string ?
anyway, I tried to install jekyll but as local user because if I install everything with root gem install files around and they conflict with the OS packages.. so I tried the following:

$ /usr/local/bin/gem32 install jekyll bundler --user-install

and the following are the errors I get:

Building native extensions. This could take a while...
ERROR:  Error installing jekyll:
        ERROR: Failed to build gem native extension.

    current directory: /home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass
/usr/local/bin/ruby32 -rrubygems /usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/exe/rake RUBYARCHDIR\=/home/my_user/.local/share/gem/ruby/3.2/extensions/x86_64-openbsd/3.2/sass-embedded-1.69.5 RUBYLIBDIR\=/home/my_user/.local/share/gem/ruby/3.2/extensions/x86_64-openbsd/3.2/sass-embedded-1.69.5
gem install --force --install-dir /home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass/ruby --no-document --ignore-dependencies --platform x86_64-openbsd-7.4 --version 1.69.5 sass-embedded
rake aborted!
NotImplementedError: dart-sass for x86_64-openbsd7.4 not available at https://github.com/sass/dart-sass/releases/tag/1.69.5
/home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass/Rakefile:310:in `default_dart_sass'
/home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass/Rakefile:27:in `block (2 levels) in <top (required)>'
/home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass/Rakefile:27:in `fetch'
/home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass/Rakefile:27:in `rescue in block in <top (required)>'
/home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass/Rakefile:21:in `block in <top (required)>'

Caused by:

/home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass/Rakefile:207:in `gem_install'
/home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass/Rakefile:23:in `block in <top (required)>'
Tasks: TOP => default => install => cli.rb => dart-sass
(See full trace by running task with --trace)
rm -rf /home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5/ext/sass/ruby

rake failed, exit code 1

Gem files will remain installed in /home/my_user/.local/share/gem/ruby/3.2/gems/sass-embedded-1.69.5 for inspection.
Results logged to /home/my_user/.local/share/gem/ruby/3.2/extensions/x86_64-openbsd/3.2/sass-embedded-1.69.5/gem_make.out
Successfully installed bundler-2.4.22
Parsing documentation for bundler-2.4.22
Done installing documentation for bundler after 0 seconds
1 gem installed

My openbsd version is 7.4. I also tried ruby30, ruby31 and ruby32. But always I get the same issue.

from jekyll.

fpusersuggest avatar fpusersuggest commented on May 27, 2024

Hello again,
I solved the problme installing that gem in this way:

$ gem install jekyll-sass-converter -v 2.2 --user-install

the only error I found is an "unknown encoding name"

Installing ri documentation for concurrent-ruby-1.2.2
Parsing documentation for i18n-1.14.1
Installing ri documentation for i18n-1.14.1
Parsing documentation for http_parser.rb-0.8.0
unknown encoding name "chunked\r\n\r\n25" for ext/ruby_http_parser/vendor/http-parser-java/tools/parse_tests.rb, skipping
Installing ri documentation for http_parser.rb-0.8.0

Now I try to build a new site. Thanks.

from jekyll.

whitemossyoak64 avatar whitemossyoak64 commented on May 27, 2024

Thanks

from jekyll.

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.