Add JRuby Support #30788
Replies: 3 comments 3 replies
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
we don't support jruby |
Beta Was this translation helpful? Give feedback.
-
Hi there, The maintainers want to convert this idea into a Feature Request issue. Before we can convert, we need you update the Discussion title and/or the description(s). We want the top post, and title, to match the current state of your idea/feature request. This is because a discussion often has lots of info, thoughts and comments. There may also be ideas that turn out to be dead ends. In simple terms, we only want the good stuff to go in the top post. So please put the current information in the top post and update the title. Feel free to copy/paste examples, links or comments into the description. Let us know when you are finished updating, and we will convert your discussion to an Issue. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
Tell us more.
https://docs.renovatebot.com/ruby/ definitely implies that Ruby is supported, but doesn't give a lot of detail about what versions of Ruby are supported. Ruby as a language actually has several underlying implemenation options (called "platforms") and often it's very important that the
bundle
command is using the right platform.We're seeing issues where Renovate seems to decide to run its own platform, rather than the one specified in our
.ruby-version
file and specified by the:platform :jruby
in our Gemfile.For example see https://github.com/elastic/crawler/pull/94/files
Where Renovate is attempting to update the dependency specified here:
https://github.com/elastic/crawler/blob/5b1f14450fb7a38f9424aa37511648962f8ed85a/Gemfile#L36
On a local checkout, running
bundle update bigdecimal
works just fine, but that's likely becausewhich bundle
shows that it's using a bundler that comes from the ruby version set byrbenv
(controlled by.ruby-version
) which is part of JRuby.I expect that Renovate is just using MRI (C) Ruby.
It would be excellent if you could configure which Ruby version you wish to use, or have renovate understand the context of a
.ruby-version
file, and use that ruby version when runningbundle install
orbundle update
.Until then, it would be nice if the docs were explicit about which ruby version(s) are used, and which version(s) and platform(s) are not supported or respected.
Beta Was this translation helpful? Give feedback.
All reactions