Am Samstag, den 25.04.2020, 19:22 +0200 schrieb deivid: [..] > Anyways, by using `:install_if`, Bundler still considers all dependencies as > relevant for your current platform, and only at installation time it > restricts > installation by applying the `:install_if` condition. > > A more correct default `Gemfile` for `jekyll` would include: > > ``` > # Windows and JRuby does not include zoneinfo files, so bundle the > tzinfo-data gem > # and associated library. > platforms :mingw, :mswin, :jruby do > gem "tzinfo", "~> 1.2" > gem "tzinfo-data" > end > > # Performance-booster for watching directories on Windows > gem "wdm", "~> 0.1.1", :platforms => [:mingw, :mswin] > ``` > > I believe that with that default jekyll `Gemfile`, `bundler` will not > get in the > middle for `Debian` users, so I'll propose to change it in jekyll's > upstream. > And also fix our `:install_if` docs :sweat_smile:.
Thanks for the explanation. The docs don't mention this behavior for install_if. I'll check if using platforms instead fixes the issue and patch jekyll accordingly if it does. This would improve the situation a lot! Thanks Deivid. I hope you are well and I'll see you at the next team sprint :) -- Regards, Daniel Leidert <dleid...@debian.org> | https://www.wgdd.de/ GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78 If you like my work consider sponsoring me via https://www.patreon.com/join/dleidert
signature.asc
Description: This is a digitally signed message part