[MacRuby] #1262: Rack error calling [] in Faraday via the Octokit gem

MacRuby ruby-noreply at macosforge.org
Tue Jul 12 08:01:02 PDT 2011


#1262: Rack error calling [] in Faraday via the Octokit gem
------------------------------+---------------------------------------------
 Reporter:  sferik@…          |       Owner:  lsansonetti@…                              
     Type:  defect            |      Status:  new                                        
 Priority:  major             |   Milestone:                                             
Component:  MacRuby           |    Keywords:  github, octokit, rack, hubcap, 0.11-blocker
------------------------------+---------------------------------------------

Comment(by watson1978@…):

 The similar problems occur other than Hash.
 {{{
 #!ruby
 class MyArray < Array
   def initialize
     @names = "foo"
   end
 end

 a1 = MyArray.new
 a1.instance_eval{ p @names }

 a2 = a1.dup
 a2.instance_eval{ p @names }
 }}}

 {{{
 $ ruby19 ~/tmp/ttt.rb
 "foo"
 "foo"

 $ DYLD_LIBRARY_PATH=. ./macruby ~/tmp/ttt.rb
 "foo"
 nil
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1262#comment:6>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list