rb: Use File.dirname(__FILE__) in generated requires [THRIFT-57]

This means you no longer have to put the gen-rb folder in $:

Author: Kevin Ballard <kevin@rapleaf.com>


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@671963 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/spec/gen-rb/ThriftSpec_constants.rb b/lib/rb/spec/gen-rb/ThriftSpec_constants.rb
index 2fc84fa..973501c 100644
--- a/lib/rb/spec/gen-rb/ThriftSpec_constants.rb
+++ b/lib/rb/spec/gen-rb/ThriftSpec_constants.rb
@@ -5,7 +5,7 @@
 #
 
 require 'thrift/protocol'
-require 'ThriftSpec_types'
+require File.dirname(__FILE__) + '/ThriftSpec_types'
 
   module SpecNamespace
 end