Rvm cannot install rbx-3.107

Hi,

Ever since the default dist changed from Trusty to Xenial, I have had builds using rbx break due to rvm not being able to find the binaries. Here is an example:

https://travis-ci.org/imgix/imgix-rb/jobs/578938587

For now we are building on trusty as a workaround but would still like to have the option of using xenial. I understand this might likely be an issue with rvm rather than travis directly, but I am curious if anyone here has any additional information and/or know what the timeline for a solution might be.

Thanks

Hello, there.

We rely on the rubinius team to provide the binaries. When you make a request for rubinius, we ask our rubies.travis-ci.org server for it. It then redirects to known location in the Rubinius team’s S3 bucket.

This succeeds for

3.107 on Trusty
$ curl -LI https://rubies.travis-ci.org/ubuntu/14.04/x86_64/rubinius-3.107.tar.bz2
HTTP/1.1 302 Found
Server: Cowboy
Connection: keep-alive
Content-Type: text/html;charset=utf-8
Cache-Control: public, must-revalidate, max-age=300
Expires: Thu, 05 Sep 2019 12:17:08 GMT
Location: http://binaries.rubini.us/ubuntu/14.04/x86_64/rubinius-3.107.tar.bz2
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Date: Thu, 05 Sep 2019 12:12:08 GMT
X-Content-Digest: da39a3ee5e6b4b0d3255bfef95601890afd80709
Age: 0
X-Rack-Cache: stale, invalid, store
Content-Length: 0
Via: 1.1 vegur
HTTP/1.1 301 Moved Permanently
Content-Type: text/html; charset=utf-8
Location: http://rubinius-binaries-rubinius-com.s3-us-west-2.amazonaws.com/ubuntu/14.04/x86_64/rubinius-3.107.tar.bz2
X-Redirector-Version: 2.6.0-4f37d77
Date: Thu, 05 Sep 2019 12:12:09 GMT
Connection: close
HTTP/1.1 200 OK
x-amz-id-2: ctUDXN8iTcCOdQmxw6tD1r47v/KqDpKN6dU7Ca7uC2pF/in/jQ4A9S6Eo99uTaGGVHmMnDq3saQ=
x-amz-request-id: 84C3FCB0DC5D823F
Date: Thu, 05 Sep 2019 12:12:10 GMT
Last-Modified: Sun, 15 Jul 2018 19:48:18 GMT
ETag: "2fa8265ed955959ddb12e094ef5555fc"
Accept-Ranges: bytes
Content-Type: application/x-bzip2
Content-Length: 10776920
Server: AmazonS3

But it fails for

3.107 on Xenial
$ curl -LI https://rubies.travis-ci.org/ubuntu/16.04/x86_64/rubinius-3.107.tar.bz2
HTTP/1.1 302 Found
Server: Cowboy
Connection: keep-alive
Content-Type: text/html;charset=utf-8
Cache-Control: public, must-revalidate, max-age=300
Expires: Thu, 05 Sep 2019 12:19:49 GMT
Location: http://binaries.rubini.us/ubuntu/16.04/x86_64/rubinius-3.107.tar.bz2
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Date: Thu, 05 Sep 2019 12:14:49 GMT
X-Content-Digest: da39a3ee5e6b4b0d3255bfef95601890afd80709
Age: 0
X-Rack-Cache: stale, invalid, store
Content-Length: 0
Via: 1.1 vegur
HTTP/1.1 301 Moved Permanently
Content-Type: text/html; charset=utf-8
Location: http://rubinius-binaries-rubinius-com.s3-us-west-2.amazonaws.com/ubuntu/16.04/x86_64/rubinius-3.107.tar.bz2
X-Redirector-Version: 2.6.0-4f37d77
Date: Thu, 05 Sep 2019 12:14:49 GMT
Connection: close
HTTP/1.1 404 Not Found
x-amz-request-id: 131F80E8D01D5722
x-amz-id-2: S2aqlHYOszTwZaZxkiWnyTHGXTuUOubqf3H03Y1ZBczHt9toAqeYljVHESbz7ZatjfUT3BWitWA=
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Thu, 05 Sep 2019 12:14:49 GMT
Server: AmazonS3

I suggest getting in touch with the Rubinius team if you want this particular combination.

Thanks for the info.
For what it’s worth, it looks like rbx-4 does work on xenial but the failure appears to be with rvm somehow. This issue also seems to have been brought up with the rubinius team already: https://github.com/rubinius/rubinius/issues/3819

Hello!

I was investigating the Rubinius Canary repo, and while tinkering with its TravisCI configuration, I came upon a combination which led to “installing, and continuing” of rbx-4. Use dist: trusty.