Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsolatedScriptingContainer does not honour setting Environment or Argv #3161

mkristian opened this issue Jul 21, 2015 · 1 comment


Copy link

c =
c.argv = ['-debug']
c.environment = { 'GEM_PATH' => '/tmp' }
c.runScriptlet("p ARGV; p ENV")

the configuration does not show up on ARGV or ENV. it works on 9k but not on 1.7.x since the constructor of IsolatedScriptingContainer does run a scriptlet already and then all changes to ARGV and ENV get ignored.

@mkristian mkristian added this to the JRuby 1.7.22 milestone Jul 21, 2015
@mkristian mkristian self-assigned this Jul 21, 2015
Copy link
Member Author

fixed via e6632c0 and 13a5e41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant