Blob Blame History Raw
--- ./lib/tracelines19.rb.systempath	1970-01-01 09:00:00.000000000 +0900
+++ ./lib/tracelines19.rb	2012-04-30 21:41:21.000000000 +0900
@@ -8,8 +8,13 @@
   begin
     require File.join(@@SRC_DIR, '..', 'ext\trace_nums', 'trace_nums19')
   rescue LoadError
+   begin
     # MSWindows seems to put this in lib rather than ext.
     require File.join(@@SRC_DIR, '..', 'lib', 'trace_nums19')
+   rescue LoadError
+    # trace_nums19 may be installed under system directory
+    require "trace_nums19"
+   end
   end
 
   # Return an array of lines numbers that could be