Skip to content

Instantly share code, notes, and snippets.

@newrelic
Created December 22, 2008 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newrelic/39120 to your computer and use it in GitHub Desktop.
Save newrelic/39120 to your computer and use it in GitHub Desktop.
Index: dispatcher_instrumentation.rb
===================================================================
--- dispatcher_instrumentation.rb (revision 5545)
+++ dispatcher_instrumentation.rb (working copy)
@@ -2,7 +2,8 @@
# We have to patch the mongrel dispatcher live since the classes
# aren't defined when our instrumentation loads
-module NewRelic::DispatcherInstrumentation
+module NewRelic
+ module DispatcherInstrumentation
@@mongrel = nil;
@@ -106,4 +107,5 @@
@@harvest_start = t0
end
end
+end
end
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment