mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-13 18:10:25 +02:00
Update ruby.md
removed googleapis refernces
This commit is contained in:
@@ -19,11 +19,7 @@ $ gem install grpc
|
|||||||
$ gem install grpc-tools
|
$ 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):
|
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:
|
Compile the proto file:
|
||||||
|
|
||||||
```shell
|
```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:
|
Two files will be generated in the current directory:
|
||||||
|
Reference in New Issue
Block a user