Attempting ruby version 2.7.1, read from environment
11:04:36 AM:
11:04:36 AM: ** WARNING **
11:04:36 AM: Using custom ruby version 2.7.1, this will slow down the build.
11:04:36 AM: To ensure fast builds, set the RUBY_VERSION environment variable, or .ruby-version file, to an included ruby version.
11:04:36 AM: Included versions: 2.3.6 2.2.9 2.4.5 2.4.3 2.6.2 2.5.4
This is confusing - it says Ruby version is read from the environment. What does that mean. I would assume an environment variable or ruby-version but a) I cannot find them set anywhere and 2) the message suggests I set them so they must no be set.
Maybe I’m not looking at all the places the version can be set? What are they?
it would help if the source being used was listed in the log.
I would expect the default ruby version for the image which is Xenial in this case, but I get similar message for thre Trusty image strange version
Ah, so the default in the docker is 2.7.1 but the preinstalled version is 2.6.2. Thanks for bringing that up and does definitely seem it can be improved. I’ll ask our team to take a look!
Hi @slim, our buildbot supports whichever versions of Ruby the rvm does. And as far as I can tell, rvm should support any version of Ruby that is available. In any case, 2.6.2 should be a pretty safe version to stick to.