Skip to content

www-apps/gitlab-17.1.1:cannot load such file -- toogle

sh-5.2$ ./bin/rails 
The most common rails commands are:
 generate     Generate new code (short-cut alias: "g")
 console      Start the Rails console (short-cut alias: "c")
 server       Start the Rails server (short-cut alias: "s")
 test         Run tests except system tests (short-cut alias: "t")
 test:system  Run system tests
 dbconsole    Start a console for the database specified in config/database.yml
              (short-cut alias: "db")
 new          Create a new Rails application. "rails new my_app" creates a
              new application called MyApp in "./my_app"
 plugin new   Create a new Rails railtie or engine

All commands can be run with -h (or --help) for more information.
In addition to those commands, there are:

/usr/lib64/ruby/gems/3.1.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:60:in `require': cannot load such file -- toogle (LoadError)
        from /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
        from /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:55:in `each'
        from /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:55:in `block in require'
        from /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:44:in `each'
        from /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.5.11/lib/bundler/runtime.rb:44:in `require'
        from /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.5.11/lib/bundler.rb:207:in `require'
        from /opt/gitlab/gitlab/config/application.rb:18:in `<main>'
        from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
        from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/command/actions.rb:22:in `require_application!'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/commands/rake/rake_command.rb:34:in `rake_tasks'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/commands/rake/rake_command.rb:43:in `formatted_rake_tasks'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/commands/rake/rake_command.rb:12:in `printing_commands'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/command.rb:103:in `each'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/command.rb:103:in `flat_map'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/command.rb:103:in `commands'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/command.rb:89:in `print_commands'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/commands/help/help_command.rb:11:in `help'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/thor-1.3.1/lib/thor/command.rb:28:in `run'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/thor-1.3.1/lib/thor/invocation.rb:127:in `invoke_command'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/thor-1.3.1/lib/thor.rb:527:in `dispatch'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/command/base.rb:87:in `perform'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/command.rb:48:in `invoke'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.4/lib/rails/commands.rb:18:in `<main>'
        from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
        from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
        from /opt/gitlab/gitlab/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
        from ./bin/rails:4:in `<main>'

anyway to fix this?

Edited by Ghost User