about summary refs log tree commit homepage
path: root/t/test_isolate.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-28 08:06:32 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-28 08:57:26 +0000
commit8175a52c67fb9dfc9c04a7b0597b680699f43deb (patch)
tree9c50e69b27c271929082aad63d0f1f7e9a4d28fa /t/test_isolate.rb
parent86e9c7013308d77def5fe41b52a35dea60c7361c (diff)
downloadrainbows-8175a52c67fb9dfc9c04a7b0597b680699f43deb.tar.gz
This still needs work and lots of cleanup, but the basics are
there.  The sendfile 1.0.0 RubyGem is now safe to use under MRI
1.8, and is superior to current (1.9.2-preview3) versions of
IO.copy_stream for static files in that it supports more
platforms and doesn't truncate large files on 32-bit platforms.
Diffstat (limited to 't/test_isolate.rb')
-rw-r--r--t/test_isolate.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test_isolate.rb b/t/test_isolate.rb
index 00d57bf..1b6c46d 100644
--- a/t/test_isolate.rb
+++ b/t/test_isolate.rb
@@ -18,6 +18,8 @@ Isolate.now!(opts) do
   gem 'unicorn', '1.0.0'
 
   if engine == "ruby"
+    gem 'sendfile', '1.0.0' # next Rubinius should support this
+
     gem 'iobuffer', '0.1.3'
     gem 'rev', '0.3.2'