From 09bc379417c7bbc7429d97adb3ab1d5f17d192ce Mon Sep 17 00:00:00 2001
From: Tim Emiola <temiola@google.com>
Date: Fri, 23 Jan 2015 04:35:16 -0800
Subject: [PATCH] Fixes a regression in the ruby dockerfile

- the line that built and installed grpc ruby was mistakenly removed.
---
 tools/dockerfile/grpc_ruby/Dockerfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/dockerfile/grpc_ruby/Dockerfile b/tools/dockerfile/grpc_ruby/Dockerfile
index 43ec0183ca..c677ceffff 100644
--- a/tools/dockerfile/grpc_ruby/Dockerfile
+++ b/tools/dockerfile/grpc_ruby/Dockerfile
@@ -9,6 +9,9 @@ RUN cd /var/local/git/grpc \
 # Build the C core.
 RUN make install_c -C /var/local/git/grpc
 
+# Install the grpc gem locally with its dependencies and build the extension
+RUN /bin/bash -l -c 'cd /var/local/git/grpc/src/ruby && bundle && rake compile:grpc && gem build grpc.gemspec && gem install grpc'
+
 # TODO add a command to run the unittest tests when the bug below is fixed
 # - the tests fail due to an error in the C threading library:
 #   they fail with 'ruby: __pthread_mutex_cond_lock_adjust for unknown reasons' at the end of a testcase
-- 
GitLab