commit | 2b1e10b21fc6f4a855235bc6774834b0510e8593 | [log] [tgz] |
---|---|---|
author | Kevin Clark <kclark@apache.org> | Wed Jun 18 01:00:50 2008 +0000 |
committer | Kevin Clark <kclark@apache.org> | Wed Jun 18 01:00:50 2008 +0000 |
tree | bef090aeedab3b42571439a58054156ae70e5aca | |
parent | 74df0bf429a29d85a2f252600f28ca652487953b [diff] |
Ensure the ruby tutorial uses the current library instead of the installed one git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668925 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/rb/RubyClient.rb b/tutorial/rb/RubyClient.rb index 1b5d5db..69189ad 100755 --- a/tutorial/rb/RubyClient.rb +++ b/tutorial/rb/RubyClient.rb
@@ -1,6 +1,7 @@ #!/usr/bin/env ruby $:.push('../gen-rb') +$:.unshift '../../lib/rb/lib' require 'thrift/transport/tsocket' require 'thrift/protocol/tbinaryprotocol'
diff --git a/tutorial/rb/RubyServer.rb b/tutorial/rb/RubyServer.rb index 6ecb563..d78c323 100755 --- a/tutorial/rb/RubyServer.rb +++ b/tutorial/rb/RubyServer.rb
@@ -1,6 +1,7 @@ #!/usr/bin/env ruby $:.push('../gen-rb') +$:.unshift '../../lib/rb/lib' require 'thrift/transport/tsocket' require 'thrift/protocol/tbinaryprotocol'