-
Notifications
You must be signed in to change notification settings - Fork 134
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
No such file or directory - .../ruby/2.7.0/gems/sass-embedded-1.57.1/ext/sass/sass_embedded/dart-sass-embedded #148
Comments
See discussion regarding NixOS here: sass-contrib/sass-embedded-host-ruby#91 In the upcoming release of sass-embedded, this should have been fixed by the following changes:
|
Thank you so much! So I guess this will be fixed then, I'll close this ticket (maybe reopen if it turns out it isn't fixed). |
sass-embedded now works out of box in
|
I can confirm that i now works! |
Hmm I just got this error as well while running the latest version on TMux on Android:
(Ruby 3.2, jekyll 4.3.2, jekyll-sass-converter 3.0.0) Should I open a new Issue over at sass-embedded-host-ruby... or...? |
You mean There is no prebuilt support for bionic libc in sass-embedded today. There is not even a prebuilt dart runtime for android available for download. Finally, it's nontrivial to reliably automate the build and test process so that it is unlikely to be supported out of box in near future. Below is the rough instruction if you want to try yourself. Note that the process requires access to glibc based x86 linux. If have one, you might just want to run Jekyll there to avoid all kinds of headache.
If you don't want to do it yourself, the next best step you can do is asking Termux community to provide either Dart SDK or Dart runtime as a prebuilt package. If a well-trusted source is willing to maintain prebuilt Dart SDK or runtime for Android, I'd be happy to add the out of box support by relying on the prebuilt packages. |
Thanks for the thorough write-up. Yes I meant Termux, sorry. If that much is required... why was I able to build my project before? Is Dart a new dependency? As it happens, there is a Dart Termux package already, so installing it was as easy as Anyway, that didn't fix the issue. I still get the same error. |
You were probably using jekyll-sass-converter 2.0 which has no dart dependency. Try replace that broken |
Okay. So I ran:
And then my code, and now I got an exciting new error!
😞 |
@buddhist-uni, Jekyll moved to using Dart-sass via # Gemfile
gem "jekyll-sass-converter", "~> 2.0" |
Added: |
@buddhist-uni Technically, the v2.x is now under security-maintenance. New features won't get backported. |
I haven't. Actually it was surprisingly easy from what I remember! Iirc, after installing ruby from the pkg manager and the bundler gem, I just had to add |
I really don't have any recommendations, @buddhist-uni. I suggest you try setting up a fresh environment in a separate Android device, say one of your parents' / siblings' / etc. |
Okay, looks like dart vm for android has a feature flag Since you have a working Dart SDK on android, you can try build dart-sass-embedded directly on your device. See: https://github.com/sass/dart-sass-embedded Once you build it on android you can install it with a config override:
OR
|
Here are the problems I ran into doing that:
But |
@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 😁 |
@buddhist-uni The protobuf step generates architecture independent dart source code, which means you can run it on a normal Linux box and then copy the whole repository to android to complete the build. |
@buddhist-uni Ruby gem sass-embedded 1.58.3 now has pre-built android support. |
Huzzah! 🎉 Can confirm it's now working. Thanks for the help! :) |
I was just trying to update a Github pages website I have to using the latest Jekyll, so I changed my old Gemfile from
to
However, when I then do
bundler install
andbundle exec jekyll serve
I get the following output (with error):When I check the the file it is supposedly missing does exist:
Anybody know what is going on?
The text was updated successfully, but these errors were encountered: