You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifying the desired ruby in the first argument is not compatible with systems that do not have rubypick installed. Additionally, if the ruby process runs system('ruby',...) it will lose the selected ruby:
My objection is a user's choice of ruby via ruby _jruby_ is not persisted by system('ruby',...). Were as RUBYPICK=jruby ruby ... does get persisted, since child processes inherit their parent's environment variables. This leads to confusing / surprising behavior when jruby processes accidentally spawn MRI sub-processes.
Is this expected? You get what you are asking for.
We could go the other way around, i.e. when specifying the interpreter by parameter, define the environment variable, but somebody could object this approach as well.
Specifying the desired ruby in the first argument is not compatible with systems that do not have rubypick installed. Additionally, if the ruby process runs
system('ruby',...)
it will lose the selected ruby:rubypick should only support using the
RUBYPICK
env variable.The text was updated successfully, but these errors were encountered: