|
|
há 11 anos atrás | |
|---|---|---|
| .. | ||
| lib | há 11 anos atrás | |
| .gitignore | há 11 anos atrás | |
| Gemfile | há 11 anos atrás | |
| README.md | há 11 anos atrás | |
| greeter.gemspec | há 11 anos atrás | |
| greeter_client.rb | há 11 anos atrás | |
| greeter_server.rb | há 11 anos atrás | |
This requires Ruby 2.x, as the gRPC API surface uses keyword args.
Use bundler to install
$ # from this directory
$ gem install bundler && bundle install
Run the server
$ # from this directory
$ bundle exec ./greeter_server.rb &
Run the client
$ # from this directory
$ bundle exec ./greeter_client.rb