[macruby-changes] [3089] MacRuby/trunk/bin/rubyc

source_changes at macosforge.org source_changes at macosforge.org
Tue Dec 8 18:12:43 PST 2009


Revision: 3089
          http://trac.macosforge.org/projects/ruby/changeset/3089
Author:   lsansonetti at apple.com
Date:     2009-12-08 18:12:40 -0800 (Tue, 08 Dec 2009)
Log Message:
-----------
don't forget to initialize the load path in AOT main functions

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

Modified: MacRuby/trunk/bin/rubyc
===================================================================
--- MacRuby/trunk/bin/rubyc	2009-12-09 00:24:13 UTC (rev 3088)
+++ MacRuby/trunk/bin/rubyc	2009-12-09 02:12:40 UTC (rev 3089)
@@ -177,6 +177,7 @@
 extern "C" {
     void ruby_sysinit(int *, char ***);
     void ruby_init(void);
+    void ruby_init_loadpath(void);
     void ruby_set_argv(int, char **);
     void rb_vm_init_compiler(void);
     void *rb_vm_top_self(void);
@@ -195,6 +196,7 @@
         argv++;
     }
     ruby_init();
+    ruby_init_loadpath();
     ruby_set_argv(argc, argv);
     rb_vm_init_compiler();
     try {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091208/22214056/attachment.html>


More information about the macruby-changes mailing list