|
|
hace 10 años | |
|---|---|---|
| .. | ||
| lib | hace 10 años | |
| .gitignore | hace 10 años | |
| Gemfile | hace 10 años | |
| README.md | hace 10 años | |
| greeter.gemspec | hace 10 años | |
| greeter_client.rb | hace 10 años | |
| greeter_server.rb | hace 10 años | |
This requires Ruby 2.1, 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