rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: James Tucker <jftucker@gmail.com>
To: rack-devel@googlegroups.com
Subject: Re: rack 1.2 busted on ruby 1.8.6
Date: Mon, 21 Jun 2010 23:09:39 -0300	[thread overview]
Message-ID: <A4D351B1-2D1B-490F-AB59-84B522400C1B@gmail.com> (raw)
In-Reply-To: <4ed54a68-d9a6-497c-b8f7-8f61b3ee345b@k39g2000yqb.googlegroups.com>

It's been fixed in master already.

On 21 Jun 2010, at 21:25, Nick wrote:

> I've also ran across this issue. Building with Ruby 1.8.6 on Mac OSX
> 10.5.8. We've ran it on a machine with OSX 10.6.4 and Ruby 1.8.6 and
> the error goes away.
> 
> We are ultimately trying to build SproutCore and the build fails due
> to this update.
> 
> ~/.gem/ruby/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in `union':
> can't convert Array into String (TypeError)
> [INFO]  from ~/.gem/ruby/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138
> [INFO]  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> [INFO]  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `require'
> [INFO]  from ~/.gem/ruby/1.8/gems/rack-1.2.1/lib/rack/request.rb:1
> [INFO]  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> [INFO]  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `require'
> [INFO]  from ~/.gem/ruby/1.8/gems/sproutcore-1.0.1046/lib/sproutcore/
> rack/filesystem.rb:10
> [INFO]  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> [INFO]   ... 8 levels...
> [INFO]  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `require'
> [INFO]  from ~/.gem/ruby/1.8/gems/sproutcore-1.0.1046/bin/sc-build:9
> [INFO]  from ~/.gem/ruby/1.8/bin/sc-build:19:in `load'
> [INFO]  from ~/.gem/ruby/1.8/bin/sc-build:19
> 
> 
> On Jun 16, 12:44 pm, cpg <carlos.puc...@gmail.com> wrote:
>> Has anyone reported this yet?
>> 
>> There was no mention of rack requiring ruby 1.9 or any other specific
>> version:
>> 
>> /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)
>> 
>> $ irb
>> irb(main):001:0>     ESCAPE_HTML = {
>> irb(main):002:1*       "&" => "&amp;",
>> irb(main):003:1*       "<" => "&lt;",
>> irb(main):004:1*       ">" => "&gt;",
>> irb(main):005:1*       "'" => "&#39;",
>> irb(main):006:1*       '"' => "&quot;",
>> irb(main):007:1*     }
>> => {"\""=>"&quot;", "<"=>"&lt;", "&"=>"&amp;", "'"=>"&#39;",
>> ">"=>"&gt;"}
>> irb(main):008:0>     ESCAPE_HTML_PATTERN =
>> Regexp.union(ESCAPE_HTML.keys)
>> TypeError: can't convert Array into String
>>         from (irb):8:in `union'
>>         from (irb):8
>>         from :0
>> irb(main):009:0>

      reply	other threads:[~2010-06-22  2:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-16 19:44 rack 1.2 busted on ruby 1.8.6 cpg
2010-06-22  0:25 ` Nick
2010-06-22  2:09   ` James Tucker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A4D351B1-2D1B-490F-AB59-84B522400C1B@gmail.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).