Closed sonya closed 7 years ago
probably there is not much I can from the gem point of view. jruby-9k does use it for example with jruby-openssl, i.e. whenever there is a require 'openssl'
then internally Jars.home, etc get set.
what you can do is to add Jars.reset
after setting the ENV
I have a Rakefile that contains this:
When I run
bundle exec rake install_jars
with jruby-1.7.22, it creates avendor
directory in my current directory.When I run
bundle exec rake install_jars
with jruby-9k (I tried 9.1.2.0 and 9.1.6.0), it does not create avendor
directory. However if I run:with jruby-9k, it does create a
vendor
directory. So it seems thatENV
variables defined in the rake task are treated differently across ruby versions.