A simple Greeting Server Implementation using Google RPC Framework
- Clone the repo.
- cd
greet-server-using-gRPC - use ruby version > 2.3
- What I used is
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin16] - Use rvm to install this.
rvm install 2.5.1rvm use ruby-2.5.1- If you are facing issue, refer rvm website for help or google :)
grpc_tools_ruby_protoc -I ./protos --ruby_out=lib --grpc_out=lib ./protos/greeter-service.protoruby greeter-server.rb- Open another tab, and execute:
ruby greeter-client.rb - You should see the output message.
Reference: https://grpc.io/docs/quickstart/ruby.html