Jason Frey
1a68550f2e
Fix bundler: with a minor version installing the wrong version
...
If passed `bundler: 2.2`, setup-ruby would install bundler 2.3, because
it would generate a constraint that looks like `~> 2.2`. This
unexpectedly installs the latest of the 2.x series, but the expectation
is that it would install the latest of the 2.2.x series.
Fixes #304
2022-04-05 18:04:27 +02:00
ruby-builder-bot
bd94d6a504
Add jruby-9.3.4.0
2022-03-23 21:16:51 +01:00
Benoit Daloze
4d8ce7b87d
ruby-head now sets a proper ABI version
...
https://bugs.ruby-lang.org/issues/18249
2022-03-03 14:59:41 +01:00
Benoit Daloze
cd9d3de43b
Show stacktrace if available, in addition to error message
2022-02-27 17:51:33 +01:00
Benoit Daloze
e5517072e8
Add ruby-3.1.1 on Windows
2022-02-19 12:48:52 +01:00
ruby-builder-bot
cb1708a42d
Add ruby-3.1.1
2022-02-18 20:50:21 +01:00
Benoit Daloze
0bb302e3c3
Update @actions/cache to latest to update node-fetch to 2.6.7
...
* Which fixes https://github.com/advisories/GHSA-r683-j2x4-v87g
2022-02-15 12:28:15 +01:00
Benoit Daloze
359bebbc29
Use the shipped Bundler on TruffleRuby 22.0
...
* To workaround https://github.com/oracle/truffleruby/issues/2586
2022-01-28 13:09:27 +01:00
Benoit Daloze
fabf2515e6
Allow bundler: none + bundle-cache: true to use the Bundler shipped with that Ruby + the cache
2022-01-27 20:07:26 +01:00
ruby-builder-bot
6d62a2dcce
Add truffleruby-22.0.0.2
2022-01-25 20:45:27 +01:00
ruby-builder-bot
f302e4ff49
Add jruby-9.3.3.0
2022-01-23 16:39:56 +01:00
Benoit Daloze
cf617ba62d
Show ruby --version
...
* This is particularly useful for head builds and is also reasonably
fast for all supported Rubies.
2022-01-23 12:27:11 +01:00
Benoit Daloze
c96a8640af
Make version files pure-data JSON files
2022-01-23 12:16:37 +01:00
David Rodríguez
8781aa98b4
Tweak rubygems input behavior
...
When a fixed version is passed, it should be the minimum RubyGems
version for the whole matrix, i.e., RubyGems should not be dowgraded
past the default version of the oldest Ruby in the matrix.
2022-01-23 11:55:32 +01:00
David Rodríguez
c3f0cb18af
Add a new input to optionally update RubyGems
2022-01-23 11:55:32 +01:00
Benoit Daloze
238b81ee64
Only log if changing something
2022-01-13 20:26:04 +01:00
Benoit Daloze
8f312efe12
Fix typo
2022-01-13 19:47:00 +01:00
Benoit Daloze
26470672e5
Small cleanups
2022-01-13 19:40:03 +01:00
MSP-Greg
fb94cfb62e
yarn run package
2022-01-13 19:25:34 +01:00
Benoit Daloze
4726835508
Try 'gem install --force bundler' on 3.1 Windows
2022-01-10 17:52:23 +01:00
Koichi ITO
bee16c98fd
Support Ruby 3.1.0 for Windows
...
Follow up to https://github.com/oneclick/rubyinstaller2/issues/255#issuecomment-1003266597 .
This PR adds Ruby 3.1.0 to windows-version.js.
2022-01-10 17:52:23 +01:00
shmokmt
f0971f0dd4
Add Ruby 3.1.0
2021-12-26 19:21:10 +01:00
Benoit Daloze
471466b54c
Add JRuby 9.2.20.1 and 9.3.2.0
2021-12-07 11:22:34 +01:00
Benoit Daloze
be0cc84c1b
Add 2.6.9, 2.7.5 and 3.0.3 on Windows
2021-11-30 19:19:02 +01:00
aparna-ravindra
e7eea4e63a
using actions/cache version 1.0.8
2021-11-30 15:18:35 +01:00
Bertrand Paquet
cf1a6dd2d8
Also add 2.6.9 and 2.7.5
2021-11-24 19:20:49 +01:00
Bertrand Paquet
5b2e10fa5f
Add ruby 3.0.3
2021-11-24 19:20:49 +01:00
Brian Kephart
330f7f5faa
Add Ruby 3.1.0-preview1
2021-11-11 13:18:51 +01:00
Benoit Daloze
e5b2d1fb1e
Document how to add a new Ruby version
2021-11-07 15:20:29 +01:00
Benoit Daloze
b00551441a
Add TruffleRuby and TruffleRuby GraalVM
2021-10-19 19:07:24 +02:00
Pavel Rosický
f514fbcdac
Add JRuby 9.3.1.0
2021-10-14 12:22:08 +02:00
Benoit Daloze
a6f2286594
Use the proper ABI version for caching gems of truffleruby-head
...
* Previously the commit was used.
2021-10-05 16:57:38 +02:00
Benoit Daloze
c84889b9b9
TruffleRuby correctly changes the ABI version now
2021-10-05 16:51:03 +02:00
Benoit Daloze
ac03cb7d18
Use .test() instead of .match() where possible
2021-09-25 13:45:43 +02:00
Benoit Daloze
5e4f0a10bf
Add JRuby 9.3.0.0
...
* Fixes https://github.com/ruby/setup-ruby/issues/220
2021-09-25 12:42:44 +02:00
Benoit Daloze
57d46d78b7
Installing libxml2-dev libxslt-dev is only needed on TruffleRuby < 21.1
...
* TruffleRuby >= 21.1 installs nokogiri with the packaged libxml2/libxslt
like on CRuby by default. See https://github.com/oracle/truffleruby/issues/62
2021-08-07 20:08:38 +02:00
Benoit Daloze
7edf159e98
Add support for truffleruby+graalvm
...
* Using ruby-build to avoid duplicating too much logic.
2021-08-07 20:05:23 +02:00
Benoit Daloze
d9a8687ae9
Add TruffleRuby 21.2.0.1
2021-08-04 15:35:20 +02:00
Benoit Daloze
ae9cb3b565
Add Ruby 1.9 on Linux and macOS
...
* On Windows there are no 64-bit builds of Ruby 1.9.
* Fix floatVersion() for head versions.
* Use floatVersion() in more cases instead of regexps.
* Rely on ~/.gemrc to not install gem docs.
2021-08-01 14:56:11 +02:00
Benoit Daloze
0997e21bf3
Fix check for TruffleRuby < 21.0 and Bundler 1
2021-07-27 13:35:24 +02:00
Benoit Daloze
0c7e9c4d53
Add TruffleRuby 21.2.0
2021-07-20 21:21:01 +02:00
Benoit Daloze
cae9d256bd
Add Ruby 2.6.8, 2.7.4 and 3.0.2 on Windows
2021-07-14 11:45:27 +02:00
Benoit Daloze
d3625ee300
Add Ruby 2.6.8, 2.7.4 and 3.0.2
2021-07-07 22:35:35 +02:00
Benoit Daloze
a783f957cd
Remove unnecessary check
2021-06-27 13:41:20 +02:00
MSP-Greg
2ebd17bccd
Update runtime logging of Path adjustments, show additions
2021-06-27 13:40:18 +02:00
MSP-Greg
477b21f02b
Fix ruby-builder.js - Windows io.mkdirP("D:\\")
2021-06-18 16:35:19 +02:00
MSP-Greg
65c1995be7
package.json - update dependencies, @vercel/ncc
2021-06-18 16:35:19 +02:00
Benoit Daloze
fe983d22a1
Add JRuby 9.2.19.0
2021-06-18 14:31:32 +02:00
Robin Wallin
4406a4131e
Add JRuby 9.2.18.0
2021-06-09 15:26:53 +02:00
Benoit Daloze
77ca66ce27
Add 2.0.0 on Windows too
2021-05-31 22:18:27 +02:00