Benoit Daloze
706bae07c5
Tweak no version found error message
...
* So it ends with "Use ruby/setup-ruby@v1" which seems to be what some
people miss.
2022-06-21 11:03:22 +02:00
Benoit Daloze
2489e28c66
Use actions/checkout@v3 in workflows
2022-05-31 11:17:28 +02:00
Benoit Daloze
8029ebd6e5
Cleanup
2022-05-17 18:24:10 +02:00
Benoit Daloze
a7439cf424
Add support for macos-12
2022-05-16 12:08:36 +02:00
Benoit Daloze
b9675e15ad
Use quotes consistently for Ruby versions in docs
...
* To avoid issues from https://github.com/actions/runner/issues/849
2022-05-15 13:26:47 +02:00
Benoit Daloze
57a3395c80
Support some Rubies on ubuntu-22.04
2022-05-15 13:05:40 +02:00
Benoit Daloze
296bf7f67a
Use an explicit list of supported platforms for nicer error messages
2022-05-15 12:21:30 +02:00
Benoit Daloze
301d3e0984
Make it clear what is supported
2022-05-04 18:11:45 +02:00
Benoit Daloze
69fe46858b
Use implicit defaults for most inputs so the GitHub Actions UI shows only the set options
2022-05-02 20:39:45 +02:00
Benoit Daloze
dcbc29fae9
Shorten test descriptions
2022-05-02 20:31:14 +02:00
Benoit Daloze
3f53c4ecc2
Add tests
2022-05-02 20:23:57 +02:00
Benoit Daloze
9b993bc63c
Use the given Bundler 1.x version if supplied on old Rubies
...
* Fixes https://github.com/ruby/setup-ruby/issues/327
2022-05-02 20:15:42 +02:00
Benoit Daloze
d6a695ac2a
Do not install Bundler if RubyGems was updated
...
* Updating RubyGems will install Bundler as a side effect.
* Fixes https://github.com/ruby/setup-ruby/issues/326
2022-05-02 19:39:53 +02:00
Benoit Daloze
ee5764de2c
Give more details on why the shipped Bundler is used in some cases
2022-04-22 17:06:58 +02: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
7baabd2c5d
Make new-version.rb windows delegate to generate-windows-versions.rb
2022-02-20 12:27:42 +01:00
Benoit Daloze
e5517072e8
Add ruby-3.1.1 on Windows
2022-02-19 12:48:52 +01:00
Benoit Daloze
cca23415f7
Fix test, 3.1.1 has a newer RubyGems
2022-02-18 20:50:26 +01:00
Benoit Daloze
339cddd0ab
Update CONTRIBUTING.md about new versions
2022-02-18 18:09:56 +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
Benoit Daloze
51c0d59222
Simplify to 22.0.0 in README (both work)
2022-01-25 20:46:56 +01:00
Benoit Daloze
8a48a656bf
Update new-version script to handle truffleruby+graalvm automatically
2022-01-25 18:58:02 +01:00
Benoit Daloze
32c0569c64
Automatically update the latest version in the README
2022-01-23 17:33:38 +01:00
Benoit Daloze
3065f0b392
Add script to automatically add a version to ruby-builder-versions.json
2022-01-23 15:03:32 +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
Benoit Daloze
d359377deb
Fix title level in README
2022-01-23 11:58:25 +01:00
Benoit Daloze
4a1b0853ab
Small cleanup
2022-01-23 11:55:32 +01:00
Benoit Daloze
180e1d1f1c
windows-2016 is deprecated and windows-2022 is now supported
...
* Stop testing on windows-2016 to reduce the test matrix size to something reasonable.
2022-01-13 20:27:11 +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
Benoit Daloze
4726835508
Try 'gem install --force bundler' on 3.1 Windows
2022-01-10 17:52:23 +01:00
Benoit Daloze
168d6a54b4
Remove 2.5 from example as it is EOL
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
Benoit Daloze
313811148f
Previews are not available on Windows
2021-11-24 19:19:52 +01:00
Benoit Daloze
f20f1eae72
Test 3.1 too
2021-11-11 13:19:00 +01:00
Benoit Daloze
a2b2637a7c
Add JRuby 9.2.20.0
2021-11-07 15:20:50 +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
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
77d7ca9909
Document a recent Bundler is needed on Windows
2021-07-29 14:18:45 +02:00
Benoit Daloze
e08bf35edf
Ensure the typical bundle exec rake works in all cases
2021-07-29 13:24:06 +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
ee30953387
Use an absolute path for BUNDLE_GEMFILE in tests too
2021-07-15 22:58: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
189661fc29
Remove workflow schedule as it causes the workflow to be disabled in forks
2021-07-07 22:35:50 +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
Benoit Daloze
fe983d22a1
Add JRuby 9.2.19.0
2021-06-18 14:31:32 +02:00
Benoit Daloze
1328335dba
Cleanup
2021-06-06 11:03:36 +02:00
Benoit Daloze
ea774f6ee1
CI: show gem env
2021-06-06 11:03:29 +02:00
Benoit Daloze
77ca66ce27
Add 2.0.0 on Windows too
2021-05-31 22:18:27 +02:00
Benoit Daloze
2eb6adbfb1
Update URLs for RubyInstaller 1 and DevKit
...
* See https://github.com/ruby/setup-ruby/issues/171
and https://github.com/oneclick/rubyinstaller/issues/400
2021-04-26 23:48:02 +02:00
Benoit Daloze
6f2028eda5
Add TruffleRuby 21.1.0
2021-04-20 16:32:58 +02:00
Benoit Daloze
b12138f02d
Add reminder to use ruby/setup-ruby@v1 for latest Ruby releases
2021-04-20 14:17:53 +02:00
Benoit Daloze
b2296551a1
Pick up new releases from RubyInstaller
2021-04-20 14:13:43 +02:00
Benoit Daloze
d320226fe2
Automatically pick the latest version of 2.6 for testing
...
* 2.6.7 is not yet available on Windows
2021-04-05 19:47:58 +02:00
Benoit Daloze
d2f535c1ed
Add Ruby 2.5.9, 2.6.7, 2.7.3 and 3.0.1
...
* Simplify list of supported CRuby versions.
2021-04-05 19:39:06 +02:00
Benoit Daloze
ad65390c0a
Disable sassc test on JRuby on Windows as it fails on 9.2.17.0
...
* See https://github.com/jruby/jruby/issues/6648
2021-04-02 11:47:35 +02:00
Benoit Daloze
c5c7583a68
Run 'yarn install' in pre-commit hook to make sure the right ncc version is used
2021-04-02 11:47:35 +02:00
Benoit Daloze
df8f44e55c
Improve issue template
2021-03-28 17:31:46 +02:00
Benoit Daloze
2b7bafee36
Clarify
2021-03-28 17:26:01 +02:00
Benoit Daloze
dddacd7ec1
Document the logic for whether to install Bundler
2021-03-25 16:49:40 +01:00
Benoit Daloze
5ee10197cf
TruffleRuby >= 21.0 and JRuby >= 9.3 ship with Bundler 2
2021-03-25 16:46:35 +01:00
Benoit Daloze
745f03fc1c
Simplify and shorten comment
2021-03-05 13:42:15 +01:00
Benoit Daloze
034294ac91
Add JRuby 9.2.16.0
2021-03-04 22:13:53 +01:00
Benoit Daloze
b818bea8cf
Add JRuby 9.2.15.0
2021-02-25 20:20:33 +01:00
Benoit Daloze
4281753149
Add a note about quoting ( #155 )
2021-02-23 22:06:45 +01:00
Benoit Daloze
7b5a90250e
Typo
2021-02-21 11:53:40 +01:00
Benoit Daloze
e90803a1bf
Clarify how to find out the correct BUNDLE_ env var name
2021-02-21 11:51:34 +01:00
Benoit Daloze
6e288cd651
TruffleRuby 21.0.0 works on macOS 11.0
2021-01-20 16:42:36 +01:00
Benoit Daloze
3ab5bf6391
Add TruffleRuby 21.0.0
2021-01-20 16:09:38 +01:00
Benoit Daloze
1891d63a08
Fix error message when trying to install truffleruby on windows
2021-01-19 16:32:54 +01:00
Benoit Daloze
c782da25bd
Document how to replace bundle config commands
2021-01-16 15:16:52 +01:00
Benoit Daloze
5aaa89ff0d
Automatically install libxml2-dev libxslt-dev on TruffleRuby if needed
...
* This is a special case, because TruffleRuby needs an extra system
dependency that other Rubies do not, and GitHub runners do not have
these packages installed by default, while TravisCI has them.
2021-01-09 14:48:58 +01:00
Benoit Daloze
3460195737
Update exact Bundler version test
...
* So that we test it does not pick the next patch version (2.2.4).
* See https://github.com/ruby/setup-ruby/issues/138
2021-01-08 21:06:57 +01:00
Benoit Daloze
d195ecb9ec
Move Bundler-related logic to a separate file
2021-01-08 20:56:31 +01:00
Benoit Daloze
324b8ce0e9
Update issue templates
2021-01-03 13:37:45 +01:00
Benoit Daloze
ce63da5b3b
Make it clear bundler-cache: true is correct, and doing it manually is not good enough
2020-12-30 16:57:15 +01:00
Benoit Daloze
0d3b8b502e
Make it clear manually caching gems is a bad idea
2020-12-30 12:36:20 +01:00
Benoit Daloze
2320cdc287
Use on: [push, pull_request] in examples
2020-12-30 11:48:57 +01:00
Benoit Daloze
95193d6d48
Ensure no \r are added when running generate-windows-versions.rb on Windows
2020-12-28 12:40:07 +01:00
Benoit Daloze
72d75bd883
Avoid explicit line break in README
2020-12-25 13:23:13 +01:00
Benoit Daloze
473e4d8fe5
Add Ruby 3.0.0
2020-12-25 13:14:24 +01:00
Benoit Daloze
3cb8cff23d
Consistency
2020-12-22 11:49:37 +01:00
Benoit Daloze
f36eef7a2f
Add an example with a matrix of Gemfiles
2020-12-22 11:46:12 +01:00
Benoit Daloze
ec4649be90
Add test for a Gemfile depending on Bundler 1
2020-12-22 11:46:12 +01:00