Hi I am new to gRPC and I was trying the Ruby example from quick start. 
After cloning the repository I am seeing the following error when running 
the server

/Users/ameynevrekar/Projects/grpc/examples/ruby/lib/helloworld_pb.rb:6:in 
`<top (required)>': undefined method `build' for an instance of 
Google::Protobuf::DescriptorPool (NoMethodError)

Google::Protobuf::DescriptorPool.generated_pool.build do
                                               ^^^^^^
from 
<internal:/Users/ameynevrekar/.rbenv/versions/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in
 
`require'
from 
<internal:/Users/ameynevrekar/.rbenv/versions/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in
 
`require'
from 
/Users/ameynevrekar/Projects/grpc/examples/ruby/lib/helloworld_services_pb.rb:20:in
 
`<top (required)>'
from 
<internal:/Users/ameynevrekar/.rbenv/versions/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in
 
`require'
from 
<internal:/Users/ameynevrekar/.rbenv/versions/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in
 
`require'
from greeter_server.rb:26:in `<main>'


How can resolve the above issue.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/9c860650-2f08-4d47-ad91-7b85d00ccd70n%40googlegroups.com.

Reply via email to