possible regression after the removal of `rdoc` from the Gemfile
Rdoc was removed from the Gemfile in a recent commit.
This breaks the installation of GitLab for me, as gdk install
fails when compiling gettext translations. I reproduced it by running the gettext:compile
task directly:
$ bundle exec rake gettext:compile
rake aborted!
LoadError: cannot load such file -- rdoc
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb:38:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/gitlab-markup-1.9.0/lib/github/markup/rdoc.rb:2:in `<main>'
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb:38:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/gitlab-markup-1.9.0/lib/github/markups.rb:2:in `<module:Markup>'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/gitlab-markup-1.9.0/lib/github/markup.rb:53:in `instance_eval'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/gitlab-markup-1.9.0/lib/github/markup.rb:53:in `<module:Markup>'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/gitlab-markup-1.9.0/lib/github/markup.rb:5:in `<module:GitHub>'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/gitlab-markup-1.9.0/lib/github/markup.rb:4:in `<main>'
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb:38:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/runtime.rb:55:in `each'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/runtime.rb:55:in `block in require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/runtime.rb:44:in `each'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/runtime.rb:44:in `require'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler.rb:187:in `require'
/home/kik/opt/gitlab/gitlab-development-kit/gitlab/config/application.rb:17:in `<top (required)>'
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
/home/kik/opt/gitlab/gitlab-development-kit/gitlab/Rakefile:9:in `<top (required)>'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `load'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:58:in `kernel_load'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/cli/exec.rb:23:in `run'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/cli.rb:492:in `exec'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/cli.rb:34:in `dispatch'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/cli.rb:28:in `start'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/exe/bundle:37:in `block in <top (required)>'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/home/kik/opt/gitlab/gem/ruby/3.1.0/gems/bundler-2.4.19/exe/bundle:29:in `<top (required)>'
/home/kik/opt/gitlab/gem/ruby/3.1.0/bin/bundle:25:in `load'
/home/kik/opt/gitlab/gem/ruby/3.1.0/bin/bundle:25:in `<main>'
(See full trace by running task with --trace)
The culprint here is the gitlab-markup
gem, which requires rdoc and does not add it as dependency in its gemspecs (see following paragraph for reason why I don't open the issue directly in that gem repos).
I'm on an unsupported platform, using system ruby, so it's possible my RubyGems configuration is different from what is running on supported platforms, in which case I'll try to figure out to fix it on my end. Could someone tell me if the gettext:compile
task works correctly for them, on HEAD (or any point that includes 30fd3549)? I have a feeling it may be the case, given it's been a few days since this commit has been merged and there was no issue about it before that one.