From: jfarrell Date: Sun, 18 Aug 2013 20:36:06 +0000 (-0400) Subject: Thrift-2137:Ruby test lib fails jenkins build #864 X-Git-Tag: 0.9.1~1 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=b5948eb378db07906594813b3e170b64d4352487;p=common%2Fthrift.git 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. --- 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