about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile4
-rw-r--r--README5
2 files changed, 7 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 4addaf2..f98c1cc 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -36,10 +36,10 @@ $(test_unit):
         $(RUBY) $@
 
 test-ext:
-        $(MAKE) test-unit
+        CLOGGER_PURE=0 $(MAKE) test-unit
 
 test-pure:
-        CLOGGER_PURE=t $(MAKE) test-unit
+        CLOGGER_PURE=1 $(MAKE) test-unit
 
 test: test-ext test-pure
 
diff --git a/README b/README
index 0d15292..c2f5155 100644
--- a/README
+++ b/README
@@ -24,10 +24,15 @@ is customizable so you can specify exactly which fields to log.
   \Clogger in a multi-threaded server, and even multiple Cloggers logging
   to different locations and different formats in the same process.
 
+* Pure Ruby version for non-MRI versions of Ruby (or via CLOGGER_PURE=1
+  in the environment).  The optional C extension is loaded by default
+  and supported under MRI 1.8.7, 1.9.1, and 1.9.2.
+
 == SYNOPSIS
 
 \Clogger may be loaded as Rack middleware in your config.ru:
 
+  # ENV['CLOGGER_PURE'] = '1' # uncomment to disable C extension
   require "clogger"
   use Clogger,
       :format => Clogger::Format::Combined,