Project

General

Profile

Actions

Story #17287

open

Ruby 2.5 will be EOLed soon, make sure to be ready for 2.6

Added by Lucas Di Pentima over 1 year ago. Updated 10 months ago.

Status:
In Progress
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

There're at least a couple places where we ask for ruby 2.5.x:

  • arvados-server install's deps.go file
  • Package building Dockefiles
Actions #1

Updated by Lucas Di Pentima over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Lucas Di Pentima over 1 year ago

run-tests.sh fails with 2.7:

WORKSPACE=/home/lucas/arvados
Using /home/lucas/.rvm/gems/ruby-2.7.2
ruby-2.7.2 - #gemset created /home/lucas/.rvm/gems/ruby-2.7.2@arvados-tests-a463ce2708c16631
ruby-2.7.2 - #generating arvados-tests-a463ce2708c16631 wrappers............
Using /home/lucas/.rvm/gems/ruby-2.7.2 with gemset arvados-tests-a463ce2708c16631
export PATH="/home/lucas/.rvm/gems/ruby-2.7.2@arvados-tests-a463ce2708c16631/bin:/home/lucas/.rvm/gems/ruby-2.7.2@global/bin:/home/lucas/.rvm/rubies/ruby-2.7.2/bin:$PATH" 
export GEM_HOME='/home/lucas/.rvm/gems/ruby-2.7.2@arvados-tests-a463ce2708c16631'
export GEM_PATH='/home/lucas/.rvm/gems/ruby-2.7.2@arvados-tests-a463ce2708c16631:/home/lucas/.rvm/gems/ruby-2.7.2@global'
export MY_RUBY_HOME='/home/lucas/.rvm/rubies/ruby-2.7.2'
export IRBRC='/home/lucas/.rvm/rubies/ruby-2.7.2/.irbrc'
unset MAGLEV_HOME
unset RBXOPT
export RUBY_VERSION='ruby-2.7.2'
Fetching bundler-2.0.2.gem
Successfully installed bundler-2.0.2
Parsing documentation for bundler-2.0.2
Installing ri documentation for bundler-2.0.2
Done installing documentation for bundler after 2 seconds
1 gem installed
/home/lucas/.rvm/gems/ruby-2.7.2@arvados-tests-a463ce2708c16631/bin/bundle
Leaving behind temp dirs in /home/lucas/.cache/arvados-build
Fatal: install bundler (encountered in setup_ruby_environment at /home/lucas/arvados/build/run-tests.sh line 523)
Actions #3

Updated by Tom Clegg 10 months ago

I changed lib/install.go to 2.7.2 on 2021-02-01 in e28e5002e502a5c238e6c0ae5daede811af9aa55 but it looks like the install docs, package-*-dockerfiles, and some arvbox scripts still need to be updated.

Actions #4

Updated by Tom Clegg 10 months ago

  • Status changed from New to In Progress
Actions

Also available in: Atom PDF