LoadError: cannot load such file -- rdoc when running gitlab:check and gitlab:env:info tasks
Just finished upgrading 16.4.2 to 16.5.2 and started seeing this error, which seems to be very similar to #156 (closed)
However, I'm getting this on a systemd install rather than OpenRC, when running both of the following
sudo -u git bundle exec rake gitlab:check RAILS_ENV=production
rake aborted!
LoadError: cannot load such file -- rdoc
sudo -u git bundle exec rake gitlab:env:info RAILS_ENV=production
rake aborted!
LoadError: cannot load such file -- rdoc
Adding RUBYLIB to both of these seems to fix the problem
sudo -u git RUBYLIB="/usr/lib64/ruby/gems/3.1.0/gems/rdoc-6.5.0/lib/" bundle exec rake gitlab:check RAILS_ENV=production
Checking GitLab subtasks ...
Checking GitLab Shell ...
Thanks so much for this overlay and these ebuilds @protegh, Over the past couple of months I've been updating a system that was neglected for a year and a half and although there were some issues along the way your instructions really helped a lot and I'm finally almost fully caught up!
Cheers, Derek