truffleruby
truffleruby copied to clipboard
`Context.environment()` does not work to set environment variable for script
When I was trying to work around https://github.com/oracle/truffleruby/issues/3839 by setting the BUNDLE_GEMFILE environment variable, I realized that this also does not work: If I do context.environment("BUNDLE_GEMFILE", "$workingDir/Gemfile"), then ENV['BUNDLE_GEMFILE'] is nil in the script.
Thank you for the report, we'll look into it.
Any update here @andrykonchin?
AFAIK there is no any update.