aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/README.md
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2015-08-19 08:20:06 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2015-08-19 14:39:05 -0700
commitdbeb1cd90c8f4596b2682f6c6d0182b25287391f (patch)
tree2e74f1c7bf8c65f3502619b81f5912e6c72e8b53 /src/ruby/README.md
parent89bede02f16905eb48b71710dc4ea2542b3a5ca1 (diff)
update debian install instructions
Diffstat (limited to 'src/ruby/README.md')
-rw-r--r--src/ruby/README.md12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ruby/README.md b/src/ruby/README.md
index 4b657c0bd4..dd6671bb66 100644
--- a/src/ruby/README.md
+++ b/src/ruby/README.md
@@ -12,12 +12,11 @@ PREREQUISITES
-------------
- Ruby 2.x. The gRPC API uses keyword args.
-- [homebrew][] on Mac OS X, [linuxbrew][] on Linux. These simplify the installation of the gRPC C core.
+- [homebrew][] on Mac OS X. These simplify the installation of the gRPC C core.
INSTALLATION
---------------
-On Mac OS X, install [homebrew][]. On Linux, install [linuxbrew][].
-Run the following command to install gRPC Ruby.
+On Mac OS X, install [homebrew][]. Run the following command to install gRPC Ruby.
```sh
$ curl -fsSL https://goo.gl/getgrpc | bash -s ruby
```
@@ -26,11 +25,9 @@ This will download and run the [gRPC install script][], then install the latest
BUILD FROM SOURCE
---------------------
- Clone this repository
-- Build the gRPC C core
-E.g, from the root of the gRPC [Git repository](https://github.com/google/grpc)
+- Install the gRPC core library. Please refer to the [INSTALL](https://github.com/grpc/grpc/blob/master/INSTALL) file for more instructions.
```sh
-$ cd ../..
-$ make && sudo make install
+$ sudo apt-get install libgrpc-dev
```
- Install Ruby 2.x. Consider doing this with [RVM](http://rvm.io), it's a nice way of controlling
@@ -77,7 +74,6 @@ Directory structure is the layout for [ruby extensions][]
GRPC.logger.info("Answer: #{resp.inspect}")
```
[homebrew]:http://brew.sh
-[linuxbrew]:https://github.com/Homebrew/linuxbrew#installation
[gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install
[ruby extensions]:http://guides.rubygems.org/gems-with-extensions/
[rubydoc]: http://www.rubydoc.info/gems/grpc