[MacRuby] #721: Compiled ruby files return incorrect values for __FILE__

MacRuby ruby-noreply at macosforge.org
Sat Dec 4 17:02:06 PST 2010


#721: Compiled ruby files return incorrect values for __FILE__
---------------------------------+------------------------------------------
 Reporter:  mred@…               |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  major                |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------

Comment(by lsansonetti@…):

 We could compile __FILE__ as the absolute path during compilation, but it
 means that if the .rbo file is moved later to a different directory in the
 filesystem, the __FILE__ variable won't be updated.

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



More information about the macruby-tickets mailing list