THRIFT-132. ruby: Ruby generator should use ::Thrift::Foo namespace form

All of the Thrift library includes now prefix with ::.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@740377 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/generate/t_rb_generator.cc b/compiler/cpp/src/generate/t_rb_generator.cc
index 83c69ef..ee85953 100644
--- a/compiler/cpp/src/generate/t_rb_generator.cc
+++ b/compiler/cpp/src/generate/t_rb_generator.cc
@@ -466,7 +466,7 @@
   out << endl;
 
   indent_up();
-  indent(out) << "include Thrift::Struct" << endl;
+  indent(out) << "include ::Thrift::Struct" << endl;
 
   if (is_exception) {
     generate_rb_simple_exception_constructor(out, tstruct);
@@ -714,7 +714,7 @@
   indent_up();
 
   indent(f_service_) <<
-    "include Thrift::Client" << endl << endl;
+    "include ::Thrift::Client" << endl << endl;
 
   // Generate client method implementations
   vector<t_function*> functions = tservice->get_functions();
@@ -847,7 +847,7 @@
   indent_up();
 
   f_service_ <<
-    indent() << "include Thrift::Processor" << endl <<
+    indent() << "include ::Thrift::Processor" << endl <<
     endl;
 
   // Generate the process subfunctions