SamplePB::User irb(main):003:0> reload! Reloading... => true irb(main):004:0> SamplePB::User Traceback (most recent call last): 4: from (irb):4 3: from app/protos/sample_pb.rb:6:in `<top (required)>' 2: from app/protos/sample_pb.rb:6:in `build' 1: from app/protos/sample_pb.rb:6:in `finalize_to_pool' RuntimeError (Unable to add defs to DescriptorPool: Symtab already has a def named 'User') Reload!͢Δͱࣦഊ͢Δ
83352 Loading development environment (Rails 5.1.7) irb(main):001:0> SamplePB Traceback (most recent call last): 5: from (irb):1 4: from app/protos/sample_pb.rb:6:in `<top (required)>' 3: from app/protos/sample_pb.rb:6:in `build' 2: from app/protos/sample_pb.rb:6:in `instance_eval' 1: from app/protos/sample_pb.rb:7:in `block in <top (required)>' NoMethodError (undefined method `add_file' for #<Google::Protobuf::Internal::Builder:0x00007ff4648e94b8>) Did you mean? add_enum w 1SPUPDͷόʔδϣϯ w HPPHMFQSPUPCVGͷόʔδϣϯ