Thrift-1424:Ruby specs fail when run with rake
Client: ruby
Patch: Peter Sanford
Fixes specs failing to load the spec_helper in ruby 1.9.2
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1200070 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/spec/http_client_spec.rb b/lib/rb/spec/http_client_spec.rb
index c919051..959880c 100644
--- a/lib/rb/spec/http_client_spec.rb
+++ b/lib/rb/spec/http_client_spec.rb
@@ -17,7 +17,7 @@
# under the License.
#
-require File.dirname(__FILE__) + '/spec_helper'
+require File.expand_path("#{File.dirname(__FILE__)}/spec_helper")
class ThriftHTTPClientTransportSpec < Spec::ExampleGroup
include Thrift