From b5948eb378db07906594813b3e170b64d4352487 Mon Sep 17 00:00:00 2001 From: jfarrell Date: Sun, 18 Aug 2013 16:36:06 -0400 Subject: [PATCH] Thrift-2137:Ruby test lib fails jenkins build #864 Client: ruby test Patch: jfarrell Updates test suite to include needed dependencies and run via bundler. --- test/rb/Gemfile | 6 ++++++ test/rb/Makefile.am | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 test/rb/Gemfile diff --git a/test/rb/Gemfile b/test/rb/Gemfile new file mode 100644 index 00000000..8301e442 --- /dev/null +++ b/test/rb/Gemfile @@ -0,0 +1,6 @@ +source "http://rubygems.org" + +require "rubygems" + +gem "rack", "~> 1.5.2" +gem "thin", "~> 1.5.0" diff --git a/test/rb/Makefile.am b/test/rb/Makefile.am index 58b11f20..9cdd99b4 100644 --- a/test/rb/Makefile.am +++ b/test/rb/Makefile.am @@ -24,5 +24,8 @@ stubs: ../ThriftTest.thrift ../SmallTest.thrift $(THRIFT) --gen rb ../SmallTest.thrift check: stubs - $(RUBY) -I. test_suite.rb +if HAVE_BUNDLER + $(BUNDLER) install + $(BUNDLER) exec $(RUBY) -I. test_suite.rb +endif -- 2.17.1