Ruby error with gitlab-backup-cli - cannot find 'toogle'

I’m getting an error when trying to run gitlab-backup-cli.
It cannot find ‘toogle’. ‘toogle’ is also not something that shows up in a dnf search.

System is RHEL8.

I’ve never had to run gitlab-backup-cli before so I have no idea if it ever worked, but I made a booboo in the config that seems to have eaten some of my repositories.

# gitlab-backup-cli backup all                                                                                                                                                                                                                                                                  
[2025-03-17 08:29:12 UTC] ℹ  Initializing environment...                                                                                                                                                                                                                                                       [           opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb:38:in `require': cannot load such file -- toogle (LoadError)                                                                                                                                                                           
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb:38:in `require'                                                                                                                                                                                                           
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:60:in `block (2 levels) in require'                                                                                                                                                                                       
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:55:in `each'                                                                                                                                                                                                              
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:55:in `block in require'                                                                                                                                                                                                  
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:44:in `each'                                                                                                                                                                                                              
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:44:in `require'                                                                                                                                                                                                           
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/bundler-2.5.11/lib/bundler.rb:207:in `require'                                                                                                                                                                                                                  
        from /opt/gitlab/embedded/service/gitlab-rails/config/application.rb:18:in `<main>'                                                                                                                                                                                                                                
        from <internal:/opt/gitlab/embedded/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'                                                                                                                                                                                                  
        from <internal:/opt/gitlab/embedded/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'                                                                                                                                                                                                  
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'                                                                                                                                                                         
        from /opt/gitlab/embedded/service/gitlab-rails/gems/gitlab-backup-cli/lib/gitlab/backup/cli.rb:52:in `rails_environment!'                                                                                                                                                                                          
        from /opt/gitlab/embedded/service/gitlab-rails/gems/gitlab-backup-cli/lib/gitlab/backup/cli/commands/backup_subcommand.rb:16:in `block in all'                                                                                                                                                                     
        from /opt/gitlab/embedded/service/gitlab-rails/gems/gitlab-backup-cli/lib/gitlab/backup/cli/commands/backup_subcommand.rb:51:in `measure_duration'                                                                                                                                                                 
        from /opt/gitlab/embedded/service/gitlab-rails/gems/gitlab-backup-cli/lib/gitlab/backup/cli/commands/backup_subcommand.rb:14:in `all'                                                                                                                                                                              
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/thor-1.3.1/lib/thor/command.rb:28:in `run'                                                                                                                                                                                                                      
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/thor-1.3.1/lib/thor/invocation.rb:127:in `invoke_command'                                                                                                                                                                                                       
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/thor-1.3.1/lib/thor.rb:527:in `dispatch'                                                                                                                                                                                                                        
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/thor-1.3.1/lib/thor/invocation.rb:116:in `invoke'
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/thor-1.3.1/lib/thor.rb:338:in `block in subcommand'
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/thor-1.3.1/lib/thor/command.rb:28:in `run'
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/thor-1.3.1/lib/thor/invocation.rb:127:in `invoke_command'
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/thor-1.3.1/lib/thor.rb:527:in `dispatch'
        from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/thor-1.3.1/lib/thor/base.rb:584:in `start'
        from /opt/gitlab/embedded/service/gitlab-rails/gems/gitlab-backup-cli/lib/gitlab/backup/cli.rb:42:in `start'
        from /opt/gitlab/embedded/service/gitlab-rails/bin/gitlab-backup-cli:14:in `<main>'
  • Self-managed
  • GitLab.com SaaS
  • Dedicated

Versions
This was with version 17.2.1 and 17.2.2
I don’t have an exact version currently because I’m currently restoring the VM from backup because that is apparently easier than trying to fix my booboo manually, but I’d still like to figure out why it can’t find toogle :slight_smile:
But it’s installed from the official repos.