jekyll-sass-converter: No such file or directory - .../ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass/sass_embedded/dart-sass-embedded
I was just trying to update a Github pages website I have to using the latest Jekyll, so I changed my old Gemfile from
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
to
source "https://rubygems.org"
gem "jekyll", "~> 4.3.2"
However, when I then do bundler install and bundle exec jekyll serve I get the following output (with error):
Configuration file: /home/pablo/Dev/theoddler.github.io/_config.yml
Source: /home/pablo/Dev/theoddler.github.io
Destination: /home/pablo/Dev/theoddler.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/cv.scss':
No such file or directory - /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass/sass_embedded/dart-sass-embedded
------------------------------------------------
Jekyll 4.3.2 Please append `--trace` to the `serve` command
for any additional information or backtrace.
------------------------------------------------
Traceback (most recent call last):
55: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/bin/bundle:18:in `<main>'
54: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/bin/bundle:18:in `load'
53: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/exe/bundle:36:in `<top (required)>'
52: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/friendly_errors.rb:120:in `with_friendly_errors'
51: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/exe/bundle:48:in `block in <top (required)>'
50: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/cli.rb:25:in `start'
49: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
48: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/cli.rb:31:in `dispatch'
47: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
46: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
45: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
44: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/cli.rb:486:in `exec'
43: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/cli/exec.rb:23:in `run'
42: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/cli/exec.rb:58:in `kernel_load'
41: from /nix/store/wdl9fsx2lwqqhrkipw7jv2w1wwgrqxkm-bundler-2.3.26/lib/ruby/gems/2.7.0/gems/bundler-2.3.26/lib/bundler/cli/exec.rb:58:in `load'
40: from /home/pablo/.local/share/gem/ruby/2.7.0/bin/jekyll:25:in `<top (required)>'
39: from /home/pablo/.local/share/gem/ruby/2.7.0/bin/jekyll:25:in `load'
38: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/exe/jekyll:15:in `<top (required)>'
37: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
36: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
35: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
34: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
33: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
32: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
31: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
30: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `each'
29: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
28: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:36:in `process'
27: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:65:in `build'
26: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:28:in `process_site'
25: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:80:in `process'
24: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:211:in `render'
23: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:563:in `render_pages'
22: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:563:in `each'
21: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:564:in `block in render_pages'
20: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:572:in `render_regenerated'
19: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:63:in `run'
18: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:84:in `render_document'
17: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:104:in `convert'
16: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:104:in `reduce'
15: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:104:in `each'
14: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:105:in `block in convert'
13: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/jekyll-sass-converter-3.0.0/lib/jekyll/converters/scss.rb:160:in `convert'
12: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded.rb:47:in `compile_string'
11: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded.rb:64:in `instance'
10: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded.rb:64:in `new'
9: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded.rb:83:in `initialize'
8: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded.rb:83:in `new'
7: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded/channel.rb:10:in `initialize'
6: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded/channel.rb:10:in `new'
5: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded/dispatcher.rb:12:in `initialize'
4: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded/dispatcher.rb:12:in `new'
3: from /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/lib/sass/embedded/compiler.rb:12:in `initialize'
2: from /nix/store/cf2fghb8vxxwmniv8cl6cvsyzabjrvl3-ruby-2.7.6/lib/ruby/2.7.0/open3.rb:101:in `popen3'
1: from /nix/store/cf2fghb8vxxwmniv8cl6cvsyzabjrvl3-ruby-2.7.6/lib/ruby/2.7.0/open3.rb:213:in `popen_run'
/nix/store/cf2fghb8vxxwmniv8cl6cvsyzabjrvl3-ruby-2.7.6/lib/ruby/2.7.0/open3.rb:213:in `spawn': No such file or directory - /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass/sass_embedded/dart-sass-embedded (Errno::ENOENT)
When I check the the file it is supposedly missing does exist:
❯ ls /home/pablo/.local/share/gem/ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass/sass_embedded/
dart-sass-embedded src
Anybody know what is going on?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (10 by maintainers)
@ashmaroli - quickly jotted it down here https://buddhistuniversity.net/jekyll-dev-notes/2023/02/13/running-jekyll-on-android.html
While at it, I also took the opportunity to jot down a few powerful Liquid patterns I’ve discovered over the years: https://buddhistuniversity.net/jekyll-dev-notes/2023/02/12/liquid-recipes.html#recurse-in-an-include
Feedback welcome 😁
sass-embedded now works out of box in
nix-shell -p ruby:See discussion regarding NixOS here: https://github.com/ntkme/sass-embedded-host-ruby/pull/91
In the upcoming release of sass-embedded, this should have been fixed by the following changes:
patchelfwon’t damage the snapshot.patchelfwill be run during the installation if NixOS is detected.