about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-02-26 03:16:46 +0000
committerEric Wong <normalperson@yhbt.net>2013-02-26 03:16:46 +0000
commit95d6719722f31987c72052b000f67d99989a81c8 (patch)
tree70c1c00b92724be62c30d605b02a58005a6c1cef
parent83a3b49dd3a1f1885ca56e9889ff22aa7b7c6136 (diff)
downloadrainbows-95d6719722f31987c72052b000f67d99989a81c8.tar.gz
This ensures we're compatible with the latest stable
Ruby version.
-rw-r--r--rainbows.gemspec4
-rw-r--r--t/test_isolate.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/rainbows.gemspec b/rainbows.gemspec
index bcbbf5b..6a906cf 100644
--- a/rainbows.gemspec
+++ b/rainbows.gemspec
@@ -28,7 +28,9 @@ Gem::Specification.new do |s|
   s.add_dependency(%q<kgio>, ['~> 2.5'])
 
   # we need Unicorn for the HTTP parser and process management
-  s.add_dependency(%q<unicorn>, ["~> 4.6"]) # 4.6.0+ supports hijacking
+  # 4.6.0+ supports hijacking, 4.6.2 fixes the chunk parser (for Ruby 2.0.0)
+  s.add_dependency(%q<unicorn>, ["~> 4.6", ">= 4.6.2"])
+
   s.add_development_dependency(%q<isolate>, "~> 3.1")
   s.add_development_dependency(%q<wrongdoc>, "~> 1.6")
 
diff --git a/t/test_isolate.rb b/t/test_isolate.rb
index 6b7fe5a..d5daa8c 100644
--- a/t/test_isolate.rb
+++ b/t/test_isolate.rb
@@ -20,7 +20,7 @@ Isolate.now!(opts) do
   gem 'rack', '1.5.2'
   gem 'kcar', '0.4.0'
   gem 'raindrops', '0.10.0'
-  gem 'unicorn', '4.6.0'
+  gem 'unicorn', '4.6.2'
 
   if engine == "ruby"
     gem 'sendfile', '1.1.0'