From: Antonio Terceiro <terceiro@debian.org>
Date: Fri, 20 Jan 2023 11:59:46 -0300
Subject: jekyll new: don't install stuff from the internet

This is already done in `rails new`, and avoids surprises for Debian
users who are not expecting software provided by Debian to install
software from the internet without explicit consent. If the user knows
what tehey are doing, and _wants_ to install stuff from the internet,
they can always just run `bundle` manually.

Gbp-Dch: full
---
 lib/jekyll/commands/new.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/jekyll/commands/new.rb b/lib/jekyll/commands/new.rb
index 0a00f26..3a5a09c 100644
--- a/lib/jekyll/commands/new.rb
+++ b/lib/jekyll/commands/new.rb
@@ -153,7 +153,7 @@ module Jekyll
           Jekyll.logger.info "Running bundle install in #{path.cyan}..."
           Dir.chdir(path) do
             exe = Gem.bin_path("bundler", "bundle")
-            process, output = Jekyll::Utils::Exec.run("ruby", exe, "install")
+            process, output = Jekyll::Utils::Exec.run("ruby", exe, "install", "--local")
 
             output.to_s.each_line do |line|
               Jekyll.logger.info("Bundler:".green, line.strip) unless line.to_s.empty?
