[MacRuby] #1014: Unhelpful error message when loading the restclient gem
#1014: Unhelpful error message when loading the restclient gem ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Tried with MacRuby 0.8 nightly build (Nov. 27) and restclient 1.6.1. When I try to load the gem I get the following error: ArgumentError: invalid string transliteration There is a thread on the macruby-devel mailing list about this problem "restclient gem with MacRuby". -- Ticket URL: <http://www.macruby.org/trac/ticket/1014> MacRuby <http://macruby.org/>
#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/>
#1014: Unhelpful error message when loading the restclient gem ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.8 Component: MacRuby | Resolution: fixed Keywords: | ------------------------------------+--------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: MacRuby 1.0 => MacRuby 0.8 Comment: Should be fixed in r5014. -- Ticket URL: <http://www.macruby.org/trac/ticket/1014#comment:2> MacRuby <http://macruby.org/>
#1014: Unhelpful error message when loading the restclient gem ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.8 Component: MacRuby | Resolution: fixed Keywords: | ------------------------------------+--------------------------------------- Comment(by mrada@…): Confirmed, the gem will now load (but the gem itself doesn't work). -- Ticket URL: <http://www.macruby.org/trac/ticket/1014#comment:3> MacRuby <http://macruby.org/>
#1014: Unhelpful error message when loading the restclient gem ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.8 Component: MacRuby | Resolution: fixed Keywords: | ------------------------------------+--------------------------------------- Comment(by lsansonetti@…): Please file another ticket for that :) -- Ticket URL: <http://www.macruby.org/trac/ticket/1014#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby