<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,36 +10,40 @@ describe LogBuddy::GemLogger do
     end
     
   end
-  
-  describe &quot;Gem#activation monkey patching for logging&quot; do
+
+  if RUBY_VERSION =! '1.9.1'
     
-    before do 
-      LogBuddy.init
-      LogBuddy::GemLogger.log_gems!
-    end
+    describe &quot;Gem#activation monkey patching for logging&quot; do
+      
+      before do 
+        LogBuddy.init
+        LogBuddy::GemLogger.log_gems!
+      end
 
-    it &quot;should log the gem name and version and where it was called from&quot; do
-      Gem.stubs(:activate_without_logging)
+      it &quot;should log the gem name and version and where it was called from&quot; do
+        Gem.stubs(:activate_without_logging)
+      
+        LogBuddy.expects(:debug).with do |msg|
+          msg.should include(%[Gem activation for gem: 'gem-name' version: '0.5' called from:\n])
+          gem_calling_line = __LINE__ + 3
+          msg.should include(%[examples/log_buddy/gem_logger_example.rb:#{gem_calling_line}])
+        end
+        gem &quot;gem-name&quot;, &quot;0.5&quot;
+      end
     
-      LogBuddy.expects(:debug).with do |msg|
-        msg.should include(%[Gem activation for gem: 'gem-name' version: '0.5' called from:\n])
-        gem_calling_line = __LINE__ + 3
-        msg.should include(%[examples/log_buddy/gem_logger_example.rb:#{gem_calling_line}])
+      it &quot;should do the original gem activation call&quot; do
+        LogBuddy.stubs(:debug)
+        Gem.expects(:activate_without_logging).with('gem-name', &quot;&gt;= 1.0.0&quot;)
+        gem &quot;gem-name&quot;, &quot;&gt;= 1.0.0&quot;
       end
-      gem &quot;gem-name&quot;, &quot;0.5&quot;
-    end
-  
-    it &quot;should do the original gem activation call&quot; do
-      LogBuddy.stubs(:debug)
-      Gem.expects(:activate_without_logging).with('gem-name', &quot;&gt;= 1.0.0&quot;)
-      gem &quot;gem-name&quot;, &quot;&gt;= 1.0.0&quot;
-    end
-  
-    it &quot;should add alias gem_without_logging&quot; do
-      Gem.should respond_to(:activate)
-      Gem.should respond_to(:activate_without_logging)
-    end
     
+      it &quot;should add alias gem_without_logging&quot; do
+        Gem.should respond_to(:activate)
+        Gem.should respond_to(:activate_without_logging)
+      end
+      
+    end
+
   end
   
-end
\ No newline at end of file
+end</diff>
      <filename>examples/log_buddy/gem_logger_example.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@ module LogBuddy
     BACKTRACE_SIZE = 0..5
     
     def self.log_gems!
-      Gem.send :include, LogBuddy::GemLogger
+      ::Gem.send :include, LogBuddy::GemLogger
     end
     
     def self.included(mod)
@@ -21,4 +21,4 @@ module LogBuddy
       
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/log_buddy/gem_logger.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f6f320ff87f7a6342bd53cc1ea7303a5a73ac841</id>
    </parent>
  </parents>
  <author>
    <name>Chad Humphries</name>
    <email>chad@spicycode.com</email>
  </author>
  <url>http://github.com/relevance/log_buddy/commit/31089d9e59baf19b306725209ee1bef80762a9c5</url>
  <id>31089d9e59baf19b306725209ee1bef80762a9c5</id>
  <committed-date>2009-05-22T07:48:35-07:00</committed-date>
  <authored-date>2009-05-22T07:48:35-07:00</authored-date>
  <message>Triaging for Ruby 1.9 (Closes #1)</message>
  <tree>f16c67b949970bdbb9d322ff53e43b19ec64d9c8</tree>
  <committer>
    <name>Chad Humphries</name>
    <email>chad@spicycode.com</email>
  </committer>
</commit>
