From 383c6485915b9dae06148402628aefdcf0db0aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Gajdu=C5=A1ek?= Date: Thu, 13 Nov 2025 15:52:56 +0100 Subject: [PATCH 1/5] Add git gem dependency --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index eab1ad5c71..8b5ec29c17 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,4 @@ source "https://rubygems.org" gem 'github-pages', '>= 147' gem 'rake' gem 'webrick' +gem 'git' From 82bfa9a128f79e4fdecfcdd6f7a601dc5d2cee7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Gajdu=C5=A1ek?= Date: Thu, 13 Nov 2025 15:54:22 +0100 Subject: [PATCH 2/5] Change shebang, use the Ruby interpreter from PATH --- scripts/committers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/committers.rb b/scripts/committers.rb index 87f8ec9b60..a3c7533967 100755 --- a/scripts/committers.rb +++ b/scripts/committers.rb @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby require 'tmpdir' require 'git' require 'optparse' From 9520684098478710a275e5209aa2d96130cf3128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Gajdu=C5=A1ek?= Date: Tue, 17 Mar 2026 17:22:45 +0100 Subject: [PATCH 3/5] Use scripts/Gemfile instead of polluting main Gemfile The git gem dependency is only needed for the committers script, not for building the website. The scripts/Gemfile already exists for managing script-specific dependencies. Usage: bundle exec --gemfile=scripts/Gemfile ruby scripts/committers.rb TAG_FROM TAG_TO Co-Authored-By: Claude Sonnet 4.5 --- Gemfile | 1 - scripts/committers.rb | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 8b5ec29c17..eab1ad5c71 100644 --- a/Gemfile +++ b/Gemfile @@ -3,4 +3,3 @@ source "https://rubygems.org" gem 'github-pages', '>= 147' gem 'rake' gem 'webrick' -gem 'git' diff --git a/scripts/committers.rb b/scripts/committers.rb index a3c7533967..b1bc302200 100755 --- a/scripts/committers.rb +++ b/scripts/committers.rb @@ -1,4 +1,6 @@ #!/usr/bin/env ruby +# Run with: bundle exec --gemfile=scripts/Gemfile ruby scripts/committers.rb TAG_FROM TAG_TO +# Or from scripts directory: bundle exec ruby committers.rb TAG_FROM TAG_TO require 'tmpdir' require 'git' require 'optparse' From 331834f68a605baa845bd15ee2e8f6cf756cf408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Gajdu=C5=A1ek?= Date: Wed, 13 May 2026 13:46:48 +0200 Subject: [PATCH 4/5] Add Gemfile for committers script dependencies Adds scripts/Gemfile to declare the git gem dependency required by committers.rb. This enables running the script via: bundle exec --gemfile=scripts/Gemfile ruby scripts/committers.rb --- scripts/Gemfile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 scripts/Gemfile diff --git a/scripts/Gemfile b/scripts/Gemfile new file mode 100644 index 0000000000..22a63fb45d --- /dev/null +++ b/scripts/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem 'git', '~> 2.3' From 1cdf24a8cd047d8a9f27be5d53abce5e93e2a762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Gajdu=C5=A1ek?= Date: Fri, 15 May 2026 18:11:48 +0200 Subject: [PATCH 5/5] Update usage instructions to use ./ path prefix --- scripts/committers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/committers.rb b/scripts/committers.rb index b1bc302200..9d6573ce2e 100755 --- a/scripts/committers.rb +++ b/scripts/committers.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -# Run with: bundle exec --gemfile=scripts/Gemfile ruby scripts/committers.rb TAG_FROM TAG_TO -# Or from scripts directory: bundle exec ruby committers.rb TAG_FROM TAG_TO +# Run with: bundle exec --gemfile=scripts/Gemfile ruby ./committers.rb TAG_FROM TAG_TO +# Or from scripts directory: bundle exec ./committers.rb TAG_FROM TAG_TO require 'tmpdir' require 'git' require 'optparse'