diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2025-02-14 16:33:44 +0100 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-02-20 12:58:44 +0900 |
| commit | 63600d79dc265893b17c2e3a549898d16fa6e64d (patch) | |
| tree | c4aadfbaeef847db46e7ba7db780fc0767a03a92 /test/ruby | |
| parent | 8619520570acf0a669c4c92b8892bdab5440e64b (diff) | |
[rubygems/rubygems] Fix lockfile platforms inconveniently added on JRuby
When working with our repository on JRuby locally, I get the following
changes when running `bin/rake setup` in all of our lockfiles
```diff
diff --git a/tool/bundler/dev_gems.rb.lock b/tool/bundler/dev_gems.rb.lock
index https://github.com/rubygems/rubygems/commit/362bf25690d..https://github.com/rubygems/rubygems/commit/74550b2a408 100644
--- a/tool/bundler/dev_gems.rb.lock
+++ b/tool/bundler/dev_gems.rb.lock
@@ -66,6 +66,7 @@ PLATFORMS
java
ruby
universal-java
+ universal-java-22
x64-mingw-ucrt
x86-linux
x86_64-darwin
```
This is inconvenient, so I applied the same strategy we already use on
non JRuby implementations to not add the current platform to the
lockfile if a less specific platform is already there.
https://github.com/rubygems/rubygems/commit/812b9cd1e8
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
