jekyll: force ruby platform when updating dependencies

Fixes #202506 where an updated jekyll couldn't be used because
the platform-specific and ruby version of the nokogiri dependency
got confused. Inspiration for this fix from
https://github.com/nix-community/bundix/issues/88
This commit is contained in:
Arnout Engelen 2022-11-23 13:18:53 +01:00
parent 20fc948445
commit d0ebe6b876
No known key found for this signature in database
GPG key ID: 061107B0F74A6DAA

View file

@ -9,7 +9,7 @@ readonly BASEDIR="$(dirname $(readlink -f $0))"
for directory in "basic" "full"; do
pushd "$BASEDIR/$directory"
rm -f Gemfile.lock gemset.nix
bundix --magic
BUNDLE_FORCE_RUBY_PLATFORM=true bundix --magic
rm -rf .bundle vendor
popd
done