Skip to content

ClientTracer: uninitialized constant GRPC (NameError)Β #1487

@friendlyantz

Description

@friendlyantz

on any brand new rails app ./bin/rails assets:precompile fails due to naming error

./bin/rails assets:precompile
bin/rails aborted!
NameError: uninitialized constant GRPC (NameError)

        class ClientTracer < ::GRPC::ClientInterceptor
                             ^^^^^^
<internal:/Users/friendlyantz/.asdf/installs/ruby/3.4.2/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'

Operating system details: MacOS
RUBY_ENGINE: "ruby"
RUBY_VERSION: "3.4.2"
RUBY_DESCRIPTION: "ruby 3.4.2 (2025-02-15 revision d2930f8e7a) +PRISM [arm64-darwin24]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions