Ensure the ruby tutorial uses the current library instead of the installed one
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:00:50 +0000 (01:00 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:00:50 +0000 (01:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668925 13f79535-47bb-0310-9956-ffa450edef68

tutorial/rb/RubyClient.rb
tutorial/rb/RubyServer.rb

index 1b5d5db..69189ad 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/env ruby
 
 $:.push('../gen-rb')
+$:.unshift '../../lib/rb/lib'
 
 require 'thrift/transport/tsocket'
 require 'thrift/protocol/tbinaryprotocol'
index 6ecb563..d78c323 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/env ruby
 
 $:.push('../gen-rb')
+$:.unshift '../../lib/rb/lib'
 
 require 'thrift/transport/tsocket'
 require 'thrift/protocol/tbinaryprotocol'