[MacRuby] #1203: macruby_deploy takes way too long to embed MacRuby when you have two versions installed

MacRuby ruby-noreply at macosforge.org
Tue Mar 22 22:59:15 PDT 2011


#1203: macruby_deploy takes way too long to embed MacRuby when you have two
versions installed
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…        
     Type:  defect                  |      Status:  new                  
 Priority:  major                   |   Milestone:                       
Component:  MacRuby                 |    Keywords:                       
------------------------------------+---------------------------------------
 Now that I have 2 different versions of MacRuby installed, I noticed that
 the deploy target takes forever to get past the step of embedding
 MacRuby.framework into my app, about 15 seconds.

 Looking at macruby_deploy, it copies all versions in and then removes the
 unneeded versions. Similarly, it also copies in all the ri/rdoc data from
 usr/share and then removes them.

 I switched this strategy from using cp_r to using rsync and only copying
 things in the first place if they are going to be used, now the embed step
 takes about 3 seconds and there is no step to delete other versions or
 ri/rdoc.

 I added the patch to my fork:
 https://github.com/ferrous26/MacRuby/commit/e4b694ae4ba0ed727427ca43427f2416ae42a459

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1203>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list