aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/README.md
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-01-15 10:12:28 -0800
committerGravatar murgatroid99 <mlumish@google.com>2016-01-15 10:12:28 -0800
commitd8521e75c8d59cea794028dae2e06091cdaab76b (patch)
tree38d7ee1c652203a971a81fade8d3bd7d8abcf060 /src/ruby/README.md
parenta9c61bc512758afab2fbc7c7635c8baf2f38a722 (diff)
Update Ruby README with simpler install instructions
Diffstat (limited to 'src/ruby/README.md')
-rw-r--r--src/ruby/README.md30
1 files changed, 2 insertions, 28 deletions
diff --git a/src/ruby/README.md b/src/ruby/README.md
index 76d9f7663a..3179575486 100644
--- a/src/ruby/README.md
+++ b/src/ruby/README.md
@@ -13,41 +13,16 @@ PREREQUISITES
-------------
- Ruby 2.x. The gRPC API uses keyword args.
-- [homebrew][] on Mac OS X. These simplify the installation of the gRPC C core.
INSTALLATION
---------------
-**Linux (Debian):**
-
-Add [Debian jessie-backports][] to your `sources.list` file. Example:
-
-```sh
-echo "deb http://http.debian.net/debian jessie-backports main" | \
-sudo tee -a /etc/apt/sources.list
-```
-
-Install the gRPC Debian package
-
-```sh
-sudo apt-get update
-sudo apt-get install libgrpc-dev
-```
-
-Install the gRPC Ruby package
+**Linux and Mac OS X:**
```sh
gem install grpc
```
-**Mac OS X**
-
-Install [homebrew][]. Run the following command to install gRPC Ruby.
-```sh
-$ curl -fsSL https://goo.gl/getgrpc | bash -s ruby
-```
-This will download and run the [gRPC install script][], then install the latest version of gRPC Ruby gem. It also installs Protocol Buffers compiler (_protoc_) and the gRPC _protoc_ plugin for ruby.
-
BUILD FROM SOURCE
---------------------
- Clone this repository
@@ -95,8 +70,7 @@ Directory structure is the layout for [ruby extensions][]
resp = stub.div(req)
GRPC.logger.info("Answer: #{resp.inspect}")
```
-[homebrew]:http://brew.sh
-[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
[grpc.io]: http://www.grpc.io/docs/installation/ruby.html