rb: Add ext/ to loadpath so BinaryProtocolAccelerated specs pass
authorKevin Clark <kclark@apache.org>
Mon, 28 Jul 2008 22:16:34 +0000 (22:16 +0000)
committerKevin Clark <kclark@apache.org>
Mon, 28 Jul 2008 22:16:34 +0000 (22:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@680539 13f79535-47bb-0310-9956-ffa450edef68

lib/rb/spec/spec_helper.rb

index 9d2dd0f..53d2b80 100644 (file)
@@ -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'