From 89f506c3f249ceb0fc864fa251ecba845d6e02a0 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sun, 21 Jul 2024 16:33:05 -0400 Subject: Convert mdwn to md --- ...ixing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.md | 15 +++++++++++++++ ...ing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.mdwn | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 posts/Fixing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.md delete mode 100644 posts/Fixing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.mdwn diff --git a/posts/Fixing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.md b/posts/Fixing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.md new file mode 100644 index 0000000..b6e862f --- /dev/null +++ b/posts/Fixing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.md @@ -0,0 +1,15 @@ +# Fixing Jekyll's dart-sass Dependency on OpenBSD + +2024-06-30 + +I recently wrote about [working with multiple Ruby versions on OpenBSD](https://btxx.org/posts/Building_rbenv_on_OpenBSD_7.5/) which still works just fine, but I noticed a bug when trying to build a couple of my Jekyll projects locally: + + NotImplementedError: dart-sass for x86_64-openbsd7.5 + +For reference, these projects are being built with Ruby 3.3.0 against Jekyll 4.3.3. After doing some research, I came across this ticket that was somewhat buried in the search results: [https://github.com/jekyll/jekyll/issues/9493](https://github.com/jekyll/jekyll/issues/9493) + +The issue *seems* to be caused by the lack of the `dart-sass` gem in OpenBSD. Luckily there is a fairly easy fix - we just need to hard-set the `jekyll-sass-converter` version in our `Gemfile`: + + gem 'jekyll-sass-converter', '~> 2.2' + +After making this change and running `bundle install` again, my Jekyll projects started building (and serving) perfectly! Hopefully this helps others trying to build their own Jekyll projects on OpenBSD. diff --git a/posts/Fixing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.mdwn b/posts/Fixing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.mdwn deleted file mode 100644 index b6e862f..0000000 --- a/posts/Fixing_Jekyll__39__s_dart-sass_Dependency_on_OpenBSD.mdwn +++ /dev/null @@ -1,15 +0,0 @@ -# Fixing Jekyll's dart-sass Dependency on OpenBSD - -2024-06-30 - -I recently wrote about [working with multiple Ruby versions on OpenBSD](https://btxx.org/posts/Building_rbenv_on_OpenBSD_7.5/) which still works just fine, but I noticed a bug when trying to build a couple of my Jekyll projects locally: - - NotImplementedError: dart-sass for x86_64-openbsd7.5 - -For reference, these projects are being built with Ruby 3.3.0 against Jekyll 4.3.3. After doing some research, I came across this ticket that was somewhat buried in the search results: [https://github.com/jekyll/jekyll/issues/9493](https://github.com/jekyll/jekyll/issues/9493) - -The issue *seems* to be caused by the lack of the `dart-sass` gem in OpenBSD. Luckily there is a fairly easy fix - we just need to hard-set the `jekyll-sass-converter` version in our `Gemfile`: - - gem 'jekyll-sass-converter', '~> 2.2' - -After making this change and running `bundle install` again, my Jekyll projects started building (and serving) perfectly! Hopefully this helps others trying to build their own Jekyll projects on OpenBSD. -- cgit v1.2.3-54-g00ecf