Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow disabling ENV write-through to the real environment [JRUBY-5934]
This adds updateNativeENVEnabled to RubyInstanceConfig with a default of true. If it is true and jruby.native.enabled is also true, any modifications to the runtime's ruby ENV will be reflected in the system env via POSIX. Otherwise, the modifications are not written through. This setting has not yet been pushed out to the embedding API's (ScriptingContainer & JRubyEngine), nor has it been documented.
- Loading branch information
Showing
4 changed files
with
77 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters