From: Kevin Clark Date: Mon, 28 Jul 2008 22:16:34 +0000 (+0000) Subject: rb: Add ext/ to loadpath so BinaryProtocolAccelerated specs pass X-Git-Tag: 0.2.0~452 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=c8190174dc638f5b60dc19785c8beca04d0ac7af;p=common%2Fthrift.git rb: Add ext/ to loadpath so BinaryProtocolAccelerated specs pass git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@680539 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/rb/spec/spec_helper.rb b/lib/rb/spec/spec_helper.rb index 9d2dd0ff..53d2b807 100644 --- a/lib/rb/spec/spec_helper.rb +++ b/lib/rb/spec/spec_helper.rb @@ -3,6 +3,8 @@ require 'rubygems' gem 'rspec', '>= 1.1.4' require 'spec' +$:.unshift File.join(File.dirname(__FILE__), *%w[.. ext]) + # pretend we already loaded fastthread, otherwise the nonblockingserver_spec # will get screwed up # $" << 'fastthread.bundle'