Agile Web Development with Rails 7:Installing Ruby 3.1.2 on Ubuntu vm (12) [solved]

Hi

Had a spot of bother installing Ruby 3.1.2 on the Ubuntu vm.

I couldn’t get the brightbox repository to work. Then it says to run sudo apt install rbenv and then rbenv init. The rbenv doctor script did not work. I was still missing the correct version of Ruby. Got around it by running this:

git clone GitHub - rbenv/ruby-build: Compile and install Ruby “$(rbenv root)”/plugins/ruby-build

Currently installing ruby-3.1.2.

Cheers