Error installing gem gem-wrappers, rubygems-bundler, rvm on Ruby v2.6.3 (Trusty)

It looks as if the rvm use command that I’m seeing is generated on this line.

And I can see that if I was using ruby-head as the Ruby version then that same class would generate a rvm get stable command on this line.

I’m going to try using ruby-head to see whether the problem goes away - that should give us some more clues.