Clarify why the `jruby =` option is not recommended
dmikurube opened this issue · 0 comments
dmikurube commented
This Gradle plugin has the jruby =
option to configure which JRuby to use (note: planned to move in #32), but the option is actually "not recommended".
The reason should be clarified. Roughly speaking, it's because how to call JRuby and gem
can be different per version. For example,
- The versions of embedded
gem
can be different per JRuby version. - The command line options of
gem
can be different. (E.g. RubyGems 3.0+ newly has the--otp
option.) - ...
A version of this Gradle plugin would basically expect a fixed corresponding JRuby version. This jruby =
option is here just for a quick hack and debugging.