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
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
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
Jakub Pavlik
fa2182b2a4
cache-version input allowing a forced change of the cache key
2021-05-15 16:32:01 +02:00
Benoit Daloze
dddacd7ec1
Document the logic for whether to install Bundler
2021-03-25 16:49:40 +01:00
Bruno Pinto
fdcfbcf14e
Enforce bundler version 1 for ruby 2.3.0 and 2.3.1
...
Fix https://github.com/ruby/setup-ruby/issues/148
2021-01-26 17:34:37 +01:00
Bruno Pinto
a358e49b56
Remove bundler enforcement on ruby 2.3
...
The fix for rubygems/rubygems#3570 was released with bundler 2.2.0.rc.1.
2021-01-26 15:20:41 +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
d195ecb9ec
Move Bundler-related logic to a separate file
2021-01-08 20:56:31 +01:00