Permalink
Browse files

macruby_main() now ignores RUBYOPT

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4006 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent b84c112 commit 3fcec2c7cb19e8e1262d2e7d39152f34e7dfa7ba @lrz lrz committed May 3, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 vm.cpp
View
2 vm.cpp
@@ -5064,6 +5064,8 @@ macruby_main(const char *path, int argc, char **argv)
argv = newargv;
argc = n;
+ unsetenv("RUBYOPT");
+
try {
ruby_sysinit(&argc, &argv);
ruby_init();

0 comments on commit 3fcec2c

Please sign in to comment.