Hi,
we’ve updated jruby from 1.5.8 to 1.6.8 and now global variables are
shared over all evaluations.
To ensure that our scripts have to side-effects we want to enabled the
old behavior.
Does anybody know the settings we should use?
Thanks
Markus
Hi,
we’ve updated jruby from 1.5.8 to 1.6.8 and now global variables are
shared over all evaluations.
To ensure that our scripts have to side-effects we want to enabled the
old behavior.
Does anybody know the settings we should use?
Thanks
Markus
It seems that setting the local context scope to threadsafe ensures that
each evaluation started from java will have a new context.
Markus
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs