[macruby-changes] [2392] MacRuby/trunk/instruby.rb

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 26 13:16:15 PDT 2009


Revision: 2392
          http://trac.macosforge.org/projects/ruby/changeset/2392
Author:   lsansonetti at apple.com
Date:     2009-08-26 13:16:15 -0700 (Wed, 26 Aug 2009)
Log Message:
-----------
clear the load path to make sure we will not require any C extension bundle, since this script is ran with miniruby which cannot load them

Modified Paths:
--------------
    MacRuby/trunk/instruby.rb

Modified: MacRuby/trunk/instruby.rb
===================================================================
--- MacRuby/trunk/instruby.rb	2009-08-26 20:15:17 UTC (rev 2391)
+++ MacRuby/trunk/instruby.rb	2009-08-26 20:16:15 UTC (rev 2392)
@@ -4,6 +4,7 @@
 include RbConfig
 
 srcdir = File.dirname(__FILE__)
+$:.clear
 $:.unshift File.expand_path("lib", srcdir)
 require 'fileutils'
 require 'shellwords'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090826/ceb1b708/attachment.html>


More information about the macruby-changes mailing list