Re: Weird issue with bundler

2020-04-27 Thread deivid
Nice, thanks for also fixing this in upstream jekyll <3 El 27/4/20 a las 14:26, Daniel Leidert escribió: Am Montag, den 27.04.2020, 08:57 -0300 schrieb Antonio Terceiro: On Sat, Apr 25, 2020 at 06:11:08PM +0200, Daniel Leidert wrote: Am Samstag, den 25.04.2020, 16:20 +0200 schrieb deivid: [..

Re: Weird issue with bundler

2020-04-27 Thread Daniel Leidert
Am Montag, den 27.04.2020, 08:57 -0300 schrieb Antonio Terceiro: > On Sat, Apr 25, 2020 at 06:11:08PM +0200, Daniel Leidert wrote: > > Am Samstag, den 25.04.2020, 16:20 +0200 schrieb deivid: > > > > [..] > > > > I believe this is not about the number of gems in the block. When you > > > > create

Re: Weird issue with bundler

2020-04-27 Thread Antonio Terceiro
On Sat, Apr 25, 2020 at 06:11:08PM +0200, Daniel Leidert wrote: > Am Samstag, den 25.04.2020, 16:20 +0200 schrieb deivid: > > [..] > > > I believe this is not about the number of gems in the block. When you > > > create a jekyll application, jekyll runs `bundle install` for you, so > > > the oth

Re: Weird issue with bundler

2020-04-25 Thread deivid
You're welcome! I tried locally and it fixed things for me, so I hope it will work on your side too. Let me know if you run into issues though. Yeah, the docs for `install_if` should definitely be improved. I'll work on that. Hope you are well too, Daniel, in these odd times. Best, Deivid.

Re: Weird issue with bundler

2020-04-25 Thread Daniel Leidert
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 correc

Re: Weird issue with bundler

2020-04-25 Thread deivid
El 25/4/20 a las 18:30, Daniel Leidert escribió: Am Samstag, den 25.04.2020, 18:11 +0200 schrieb Daniel Leidert: [..] The created Gemfile contains this: # Windows does not include zoneinfo files, so bundle the tzinfo-data gem # and associated library. install_if -> { RUBY_PLATFORM =~ %r!mingw

Re: Weird issue with bundler

2020-04-25 Thread deivid
El 25/4/20 a las 18:11, Daniel Leidert escribió: [..] The issue arises when I run jekyll new foo --skip-bundle The created Gemfile contains this: # Windows does not include zoneinfo files, so bundle the tzinfo-data gem # and associated library. install_if -> { RUBY_PLATFORM =~ %r!mingw|mswi

Re: Weird issue with bundler

2020-04-25 Thread Daniel Leidert
Am Samstag, den 25.04.2020, 18:11 +0200 schrieb Daniel Leidert: [..] > The created Gemfile contains this: > > > # Windows does not include zoneinfo files, so bundle the tzinfo-data gem > > # and associated library. > > install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do > > gem "tzinfo",

Re: Weird issue with bundler

2020-04-25 Thread Daniel Leidert
Am Samstag, den 25.04.2020, 16:20 +0200 schrieb deivid: [..] > > I believe this is not about the number of gems in the block. When you > > create a jekyll application, jekyll runs `bundle install` for you, so > > the other gem is already included in the `Gemfile.lock` file, that's > > why you d

Re: Weird issue with bundler

2020-04-25 Thread deivid
Ok, I'm now skimming through thread you linked to and I realize that you probably already know the stuff I pointed out. I'll read the thread carefully and try figure out what needs to be improved upstream to make things easier. El 25/4/20 a las 16:20, deivid escribió: Sorry, I should've repl

Re: Weird issue with bundler

2020-04-25 Thread deivid
Sorry, I should've replied to the list. My answers are below. El 25/4/20 a las 16:16, deivid escribió: El 25/4/20 a las 15:49, Daniel Leidert escribió: Am Samstag, den 25.04.2020, 15:25 +0200 schrieb deivid: I can reproduce this locally, and without having a closer look, I agree there's room

Re: Weird issue with bundler

2020-04-25 Thread Daniel Leidert
Am Samstag, den 25.04.2020, 15:25 +0200 schrieb deivid: > > I can reproduce this locally, and without having a closer look, I agree > there's room for improvement in bundler here (maybe in jekyll too), at > least in terms of better error messages. Feel free to report the issue > upstream so it

Re: Weird issue with bundler

2020-04-25 Thread deivid
Hi Daniel! I can reproduce this locally, and without having a closer look, I agree there's room for improvement in bundler here (maybe in jekyll too), at least in terms of better error messages. Feel free to report the issue upstream so it doesn't get lost. To workaround the issue, you can r

Weird issue with bundler

2020-04-25 Thread Daniel Leidert
Hi there, there is something weird going on with bundler and I suspect a bug. Consider this part of a Gemfile for a jekyll site: install_if -> { RUBY_PLATFORM =~ /mingw|mswin|java/ } do gem "wdm", "~> 0.1.0" end It ckearly states that the "wdm" gem is not required on my Debian linux. And when