On 13/09/10 11:12 -0400, Mohammed Morsi wrote:
> On 09/13/2010 08:31 AM, Michal Fojtik wrote:
>> On 12/09/10 19:34 -0500, Michael Stahnke wrote:
>>> I'd like to bump rubygem-rack to the latest (1.2.1) in Rawhide and
>>> EPEL. I was worried about EPEL and even started making a seperate
>>> branch for a rack1 package, but according to my queries, the only
>>> packages requiring rack in EPEL are:
>>> stahnma@tyr /home/stahnma> repoquery -q --whatrequires
>>> stahnma@olive /home/stahnma> repoquery --whatrequires
>> FYI: when I tried to use rack-1.2.1 with new Rack I got:
>> (same error for Rails 2.3.5)
>> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in `union':
can't convert Array into String (TypeError)
>> from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138
>> I'll contact Sinatra upstream to fix it.
>> -- Michal
> I discovered and reported this issue (or at least a very similar one) a
> little while back. Its not a upstream problem, rather a Fedora packaging
> problem as we change actionpack 2.3.5 to be compatible with Rack 1.1.0
> The problem is though we miss one important change which is causing this
> error. My updated patch to actionpack fixes this
> I'm guessing this is a same or similar problem for sinatra.
Well, after small investigation and chat with Sinatra folks I can confirm
that this is not Rack/Sinatra relevant bug, but Ruby 1.8.6 bug.
After I tried this gem with Ruby 1.8.7 installed through 'rvm', this
exception dissapears and all stuff is working normally now.
I hope we will have Ruby 1.8.7 soon ;-)