• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/tools/dockerfile/interoptest/grpc_interop_ruby/Dockerfile b/tools/dockerfile/interoptest/grpc_interop_ruby/Dockerfile
2index 88b5130..7ae9f7d 100644
3--- a/tools/dockerfile/interoptest/grpc_interop_ruby/Dockerfile
4+++ b/tools/dockerfile/interoptest/grpc_interop_ruby/Dockerfile
5@@ -70,12 +70,12 @@ RUN apt-get update && apt-get install -y time && apt-get clean
6 RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
7 RUN \curl -sSL https://get.rvm.io | bash -s stable
8
9-# Install Ruby 2.1
10-RUN /bin/bash -l -c "rvm install ruby-2.1"
11-RUN /bin/bash -l -c "rvm use --default ruby-2.1"
12+# Install Ruby 2.1.8
13+RUN /bin/bash -l -c "rvm install ruby-2.1.8"
14+RUN /bin/bash -l -c "rvm use --default ruby-2.1.8"
15 RUN /bin/bash -l -c "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
16 RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc"
17-RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.1' >> ~/.bashrc"
18+RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.1.8' >> ~/.bashrc"
19 RUN /bin/bash -l -c "gem install bundler --no-ri --no-rdoc"
20
21 # Prepare ccache
22diff --git a/tools/dockerfile/interoptest/grpc_interop_ruby/build_interop.sh b/tools/dockerfile/interoptest/grpc_interop_ruby/build_interop.sh
23index 97b3860..cec046d 100755
24--- a/tools/dockerfile/interoptest/grpc_interop_ruby/build_interop.sh
25+++ b/tools/dockerfile/interoptest/grpc_interop_ruby/build_interop.sh
26@@ -38,7 +38,7 @@ git clone --recursive /var/local/jenkins/grpc /var/local/git/grpc
27 cp -r /var/local/jenkins/service_account $HOME || true
28
29 cd /var/local/git/grpc
30-rvm --default use ruby-2.1
31+rvm --default use ruby-2.1.8
32
33 # build Ruby interop client and server
34 (cd src/ruby && gem update bundler && bundle && rake compile)
35