[MacRuby-devel] Cannot get standalone distribution to work with 0.5 or Apr 29 nightly

Laurent Sansonetti lsansonetti at apple.com
Sun May 2 17:26:11 PDT 2010


I see. I believe macruby_main() should always ignore RUBYOPT... I filed:

  https://www.macruby.org/trac/ticket/673

In the meantime, as a workaround you can try to add this line in your main.m file, just before calling macruby_main():

  unsetenv("RUBYOPT");

Laurent

On May 2, 2010, at 2:57 PM, Brian Marick wrote:

> You are my hero. I set RUBYOPT in .MacOS/environment.plist long ago.
> 
> On May 2, 2010, at 3:18 PM, Laurent Sansonetti wrote:
> 
>> Hi Brian,
>> 
>> Would you have by any chance a RUBYOPT environment variable set to "-r rubygems" in the default environment?
>> 
>> Laurent
> 
> 
> -----
> Brian Marick, independent consultant
> Mostly on agile methods with a testing slant
> Author of /Programming Cocoa with Ruby/
> www.exampler.com, www.exampler.com/blog, www.twitter.com/marick
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list