aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/build_ruby.sh
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-05-20 10:33:37 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-05-20 10:33:37 -0700
commitbf6bd2303c2693373c4df161e11b6ce93f5d6ae3 (patch)
tree3196fcfb73f5df28815df87ba90d398809a46e3b /tools/run_tests/build_ruby.sh
parent1e0452b63b335c5f00d35d3774a4b4a60a21b80d (diff)
parenta42c1fe8aeddff6e1fe13b7ee2d990999f2867c6 (diff)
Merge github.com:grpc/grpc into mmm-mmm-mmm-mmm
Diffstat (limited to 'tools/run_tests/build_ruby.sh')
-rwxr-xr-xtools/run_tests/build_ruby.sh13
1 files changed, 3 insertions, 10 deletions
diff --git a/tools/run_tests/build_ruby.sh b/tools/run_tests/build_ruby.sh
index 53a69cf079..de96413bc1 100755
--- a/tools/run_tests/build_ruby.sh
+++ b/tools/run_tests/build_ruby.sh
@@ -31,17 +31,10 @@
set -ex
-CONFIG=${CONFIG:-opt}
+export CONFIG=${CONFIG:-opt}
-# change to grpc repo root
-cd $(dirname $0)/../..
-
-# tells npm install to look for files in that directory
-export GRPC_ROOT=`pwd`
-# tells npm install the subdirectory with library files
-export GRPC_LIB_SUBDIR=libs/$CONFIG
-
-cd src/ruby
+# change to grpc's ruby directory
+cd $(dirname $0)/../../src/ruby
bundle install
rake compile:grpc