[macruby-changes] [5263] MacRuby/trunk/bin/ruby_deploy

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 7 14:19:05 PST 2011


Revision: 5263
          http://trac.macosforge.org/projects/ruby/changeset/5263
Author:   lsansonetti at apple.com
Date:     2011-03-07 14:19:04 -0800 (Mon, 07 Mar 2011)
Log Message:
-----------
fix a bug when using --gem on gems containing a space character in their paths would break the deployment (patch by mrada at marketcircle.com)

Modified Paths:
--------------
    MacRuby/trunk/bin/ruby_deploy

Modified: MacRuby/trunk/bin/ruby_deploy
===================================================================
--- MacRuby/trunk/bin/ruby_deploy	2011-03-07 22:11:42 UTC (rev 5262)
+++ MacRuby/trunk/bin/ruby_deploy	2011-03-07 22:19:04 UTC (rev 5263)
@@ -178,7 +178,7 @@
       gems_libdirs_dest = File.join(app_macruby_usr, 'lib', 'ruby', 'site_ruby', RUBY_VERSION)
       mkdir_p(gems_libdirs_dest)
       gems_libdirs_to_embed.each do |libdir|
-        execute("/usr/bin/ditto #{libdir} #{gems_libdirs_dest}")
+        execute("/usr/bin/ditto \"#{libdir}\" \"#{gems_libdirs_dest}\"")
       end 
     end
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20110307/1bca199a/attachment.html>


More information about the macruby-changes mailing list