[MacRuby] #1014: Unhelpful error message when loading the restclient gem
MacRuby
ruby-noreply at macosforge.org
Sat Dec 4 18:01:40 PST 2010
#1014: Unhelpful error message when loading the restclient gem
------------------------------------+---------------------------------------
Reporter: mrada@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 1.0
Component: MacRuby | Keywords:
------------------------------------+---------------------------------------
Changes (by lsansonetti@…):
* milestone: => MacRuby 1.0
Comment:
I debugged the problem to the file lib/restclient/exceptions.rb, line 145:
{{{
klass_constant = const_set message.delete(' \-\''), klass
}}}
A better reduction then:
{{{
$ cat t.rb
p "foo".delete(' \-\'')
$ ./miniruby t.rb
/Users/lrz/src/macruby-trunk/t.rb:1:in `<main>': invalid string
transliteration (ArgumentError)
}}}
Screening for 1.0.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1014#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list