# HG changeset patch # User Stan Hu <stanhu@gmail.com> # Date 1706808899 28800 # Thu Feb 01 09:34:59 2024 -0800 # Node ID 2927cb7695ef0386ed87960578c6c465f9f3fac7 # Parent a4a002421365001d1e62dd27f464e21e6665a077 Prune unneeded gitlab-glfm-markdown precompiled libraries gitlab-glfm-markdown ships with precompiled shared libraries for all supported Ruby versions. Just as we do with nokogiri and other gems, keep only the version needed for the current Ruby version. Changelog: changed diff --git a/config/software/gitlab-rails.rb b/config/software/gitlab-rails.rb --- a/config/software/gitlab-rails.rb +++ b/config/software/gitlab-rails.rb @@ -128,6 +128,7 @@ ruby_ver = shellout!("#{embedded_bin('ruby')} -e 'puts RUBY_VERSION.match(/\\d+\\.\\d+/)[0]'", env: env).stdout.chomp gem_paths = { + 'gitlab-glfm-markdown' => 'lib', 'google-protobuf' => 'lib/google', 'grpc' => 'src/ruby/lib/grpc', 'prometheus-client-mmap' => 'lib',