aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-04-14 09:45:30 -0700
committerGravatar Tim Emiola <temiola@google.com>2015-04-14 09:45:30 -0700
commit095af673188f5d277ded8ba2cc07810d520ba2e3 (patch)
tree7b7188423b9df26044ac4427caaecf7c23768e87 /src/ruby
parent1e0981262c200e650671e2f6c2d0255330fbd5ec (diff)
Revert "Update installation instructions to mention debian binary install"
Diffstat (limited to 'src/ruby')
-rw-r--r--src/ruby/README.md24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/ruby/README.md b/src/ruby/README.md
index 286ae662cc..9c0eef49b0 100644
--- a/src/ruby/README.md
+++ b/src/ruby/README.md
@@ -11,19 +11,16 @@ Alpha : Ready for early adopters
INSTALLATION PREREQUISITES
--------------------------
-This requires Ruby 2.x, as the RPC API surface uses keyword args.
+This requires Ruby 2.1, as the RPC API surface uses keyword args.
QUICK - INSTALL
---------------
-On debian linux systems, install from our released deb package.
-Otherwise, install from source, as described below.
-
-$ wget https://github.com/grpc/grpc/releases/download/release-0_6_0/libgrpc_0.6.0_amd64.deb
-$ wget https://github.com/grpc/grpc/releases/download/release-0_6_0/libgrpc-dev_0.6.0_amd64.deb
-$ sudo dpkg -i libgrpc_0.6.0_amd64.deb libgrpc-dev_0.6.0_amd64.deb
-
+- Clone this repository.
+- Follow the instructions in [INSTALL](../../INSTALL) to install the gRPC C core.
+- If you don't have Ruby 2.1 installed, switch to the more detailed instructions below
+- Use bundler to install
```sh
$ # from this directory
$ gem install bundler && bundle install
@@ -32,9 +29,14 @@ $ gem install bundler && bundle install
Installing from source
----------------------
-- Clone this repository
-- Follow the instructions in [INSTALL](../../INSTALL) to install the gRPC C core.
-- Install Ruby 2.x. Consider doing this with [RVM](http://rvm.io), it's a nice way of controlling
+- Build the gRPC C core
+E.g, from the root of the gRPC [git repo](https://github.com/google/grpc)
+```sh
+$ cd ../..
+$ make && sudo make install
+```
+
+- Install Ruby 2.1. Consider doing this with [RVM](http://rvm.io), it's a nice way of controlling
the exact ruby version that's used.
```sh
$ command curl -sSL https://rvm.io/mpapis.asc | gpg --import -