exec doesn't inherit RUBYOPT (breaks bundler)
---------------------------------------------
Key: JRUBY-4348
URL:
http://jira.codehaus.org/browse/JRUBY-4348 Project: JRuby
Issue Type: Bug
Components: Miscellaneous
Affects Versions: JRuby 1.4
Reporter: Yehuda Katz
#exec doesn't inherit the RUBYOPT from the parent process when it launches the new "process" in-process.
To reproduce:
// file.rb
class Hello; end
// exec_test.rb
ENV["RUBYOPT"] = "-r./file"
exec "ruby -e 'puts Hello'"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email