Rainbows! Rack HTTP server user/dev discussion
 help / Atom feed
* Rainbows! Coolio/XEpoll failing under Ruby 2.0.0-p0
@ 2013-02-25 13:06 Eric Wong
       [not found] ` <20130225130619.GA27183-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2013-02-25 13:06 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

Due to this weird issue in the unicorn chunk parser C extension:
https://bugs.ruby-lang.org/issues/7957
I'm pretty sure rb_str_modify() should work...


Btw, EM doesn't seem compatible with Ruby 2.0.0-p0:
https://bugs.ruby-lang.org/issues/7474
_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|threaded] 2+ messages in thread

* [PATCH] bump unicorn dependency to 4.6.2+ for Ruby 2.0.0
       [not found] ` <20130225130619.GA27183-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
@ 2013-02-26  3:19   ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2013-02-26  3:19 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org> wrote:
> Due to this weird issue in the unicorn chunk parser C extension:
> https://bugs.ruby-lang.org/issues/7957
> I'm pretty sure rb_str_modify() should work...

This was a bug in unicorn fixed in the v4.6.2 release

ref: commit f7ee06592d7709e96f64efb5e7a9485b54415c9d in
     git://bogomips.org/unicorn.git

Rainbows! will depend on 4.6.2+

>From 95d6719722f31987c72052b000f67d99989a81c8 Mon Sep 17 00:00:00 2001
From: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
Date: Tue, 26 Feb 2013 03:16:46 +0000
Subject: [PATCH] bump unicorn dependency to 4.6.2+ for Ruby 2.0.0

This ensures we're compatible with the latest stable
Ruby version.
---
 rainbows.gemspec  | 4 +++-
 t/test_isolate.rb | 2 +-
 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'
-- 
1.8.1.2.526.gf51a757

_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|threaded] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-25 13:06 Rainbows! Coolio/XEpoll failing under Ruby 2.0.0-p0 Eric Wong
     [not found] ` <20130225130619.GA27183-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2013-02-26  3:19   ` [PATCH] bump unicorn dependency to 4.6.2+ for Ruby 2.0.0 Eric Wong

Rainbows! Rack HTTP server user/dev discussion

Archives are clonable:
	git clone --mirror https://bogomips.org/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-public

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox