about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorIan Ownbey <imownbey@ian-ownbeys-macbook.local>2009-01-31 13:18:35 -0800
committerIan Ownbey <imownbey@ian-ownbeys-macbook.local>2009-01-31 13:18:35 -0800
commita62cccac0a10096991c8d00a86d73484de6e503d (patch)
tree7a3becea0f92799899588f58fe1d2a04a7a7715c /test
parentdf080f7fbcdc4866260d04385fd6388797d463a4 (diff)
downloadunicorn-a62cccac0a10096991c8d00a86d73484de6e503d.tar.gz
Diffstat (limited to 'test')
-rw-r--r--test/test_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 7615fdd..e5f1a13 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -5,7 +5,7 @@
 # for more information.
 
 
-HERE = File.dirname(__FILE__)
+HERE = File.dirname(__FILE__) unless defined?(HERE)
 %w(lib ext bin test).each do |dir|
   $LOAD_PATH.unshift "#{HERE}/../#{dir}"
 end
@@ -76,4 +76,4 @@ end
 # Platform check helper ;-)
 def windows?
   result = RUBY_PLATFORM =~ /djgpp|(cyg|ms|bcc)win|mingw/
-end \ No newline at end of file
+end