Hi Daniel,
> > I finally understood what confused me at first: even with > > --skip-bundle, > > "jekyll new" creates a Gemfile. And until this Gemfile is removed, > > "jekyll build" will try to go the bundle way all by itself. > > That is not true. As I explained earlier I'm using jekyll myself and > bundler > doesn't run at all. And you need Gemfile to list and load the plugins > you need. > > I don't really see a nice route with this for packaging: just > documenting > > the fact and add a user notice in "jekyll new" that the package > > won't work > > until the file is removed feels awkward. > > > > OTOH, doesn't it feel awkward as well that just having Gemfile > > present > > causes the system binary to do what looks like a "bundle exec" ? > > Again > > I'm too noob with ruby to say for sure, but that sure confused me. > > What you describe really doesn't sound right. I really think the > issue is not > jekyll nor bundler but somewhere in your setup. > > What I suspect is that you have dependencies in Gemfile which you > have not yet > installed via Debian package management. If all dependencies of your > site are > installed, then bundler won't do anything. Before posting this I had done the following test, this may clarify what I'm talking about: tmp$ jekyll new --skip-bundle foo New jekyll site installed in /tmp/foo. Bundle install skipped. tmp$ cd foo foo$ ls 404.html about.md _config.yml Gemfile index.md _posts foo$ jekyll build Traceback (most recent call last): 13: from /usr/bin/jekyll:9:in `<main>' 12: from /usr/lib/ruby/vendor_ruby/jekyll/plugin_manager.rb:50:in `require_from_bundler' 11: from /usr/lib/ruby/2.7.0/bundler.rb:149:in `setup' 10: from /usr/lib/ruby/2.7.0/bundler/runtime.rb:20:in `setup' 9: from /usr/lib/ruby/2.7.0/bundler/runtime.rb:101:in `block in definition_method' 8: from /usr/lib/ruby/2.7.0/bundler/definition.rb:226:in `requested_specs' 7: from /usr/lib/ruby/2.7.0/bundler/definition.rb:237:in `specs_for' 6: from /usr/lib/ruby/2.7.0/bundler/definition.rb:170:in `specs' 5: from /usr/lib/ruby/2.7.0/bundler/definition.rb:258:in `resolve' 4: from /usr/lib/ruby/2.7.0/bundler/resolver.rb:22:in `resolve' 3: from /usr/lib/ruby/2.7.0/bundler/resolver.rb:49:in `start' 2: from /usr/lib/ruby/2.7.0/bundler/resolver.rb:258:in `verify_gemfile_dependencies_are_found!' 1: from /usr/lib/ruby/2.7.0/bundler/resolver.rb:258:in `each' /usr/lib/ruby/2.7.0/bundler/resolver.rb:290:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'jekyll (~> 3.8.6)' in any of the gem sources listed in your Gemfile.(Bundler::GemNotFound) foo$ Best regards, -- Yann