Update ruby.md

removed googleapis refernces
This commit is contained in:
Bansal
2024-11-20 13:59:00 +05:30
committed by GitHub
parent 11942cfd5e
commit c74d970b77

View File

@@ -19,11 +19,7 @@ $ gem install grpc
$ gem install grpc-tools
```
Clone the Google APIs repository:
```shell
$ git clone https://github.com/googleapis/googleapis.git
```
Fetch the `lightning.proto` file (or copy it from your local source directory):
@@ -34,7 +30,7 @@ $ curl -o lightning.proto -s https://raw.githubusercontent.com/lightningnetwork
Compile the proto file:
```shell
$ grpc_tools_ruby_protoc --proto_path googleapis:. --ruby_out=. --grpc_out=. lightning.proto
$ grpc_tools_ruby_protoc --ruby_out=. --grpc_out=. lightning.proto
```
Two files will be generated in the current directory: