[Bug 272791] GitLab: bundler: failed to load command: puma (/usr/local/bin/puma)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 Jul 2023 10:46:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272791

            Bug ID: 272791
           Summary: GitLab: bundler: failed to load command: puma
                    (/usr/local/bin/puma)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: tz@freebsd.org

Aloha,

when i restart Gitlab after an update to 16.1.2_1 i get this error:

=== Start ===
[..]
bundler: failed to load command: puma (/usr/local/bin/puma)
/usr/local/www/gitlab-ce/config/puma.rb:39:in `require_relative': cannot load
such file --
/usr/local/www/gitlab-ce/lib/gitlab/cluster/puma_worker_killer_initializer
(LoadError)
        from /usr/local/www/gitlab-ce/config/puma.rb:39:in `_load_from'
        from
/usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/lib/puma/dsl.rb:133:in
`instance_eval'
        from
/usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/lib/puma/dsl.rb:133:in
`_load_from'
        from
/usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/lib/puma/configuration.rb:237:in
`block in load'
        from
/usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/lib/puma/configuration.rb:237:in
`each'
        from
/usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/lib/puma/configuration.rb:237:in
`load'
        from
/usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/lib/puma/launcher.rb:54:in
`initialize'
        from /usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/lib/puma/cli.rb:66:in
`new'
        from /usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/lib/puma/cli.rb:66:in
`initialize'
        from /usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/bin/puma:8:in `new'
        from /usr/local/lib/ruby/gems/3.1/gems/puma-6.3.0/bin/puma:8:in `<top
(required)>'
        from /usr/local/bin/puma:25:in `load'
        from /usr/local/bin/puma:25:in `<top (required)>'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/cli/exec.rb:58:in
`load'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/cli/exec.rb:58:in
`kernel_load'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/cli/exec.rb:23:in
`run'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/cli.rb:492:in
`exec'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/vendor/thor/lib/thor/command.rb:27:in
`run'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
`invoke_command'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/vendor/thor/lib/thor.rb:392:in
`dispatch'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/cli.rb:34:in
`dispatch'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/vendor/thor/lib/thor/base.rb:485:in
`start'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/cli.rb:28:in
`start'
        from /usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/exe/bundle:37:in
`block in <top (required)>'
        from
/usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/lib/bundler/friendly_errors.rb:117:in
`with_friendly_errors'
        from /usr/local/lib/ruby/gems/3.1/gems/bundler-2.4.15/exe/bundle:29:in
`<top (required)>'
        from /usr/local/bin/bundle:25:in `load'
        from /usr/local/bin/bundle:25:in `<main>'
........................................................................................................................
Waited 120s for the processes to write their pids, something probably went
wrong.

=== Ende ===

Anyone else with this issue? Any idea how to fix this?

Yes i have an test-instance with real world data to play with :D

-- 
You are receiving this mail because:
You are the assignee for the bug.