How to install newest Ruby version without Homebrew?

I am using macOS Mojave. My work account has no administration privileges because of known macOS vulnerability. I have separate admin account. I have just tried to update Ruby to the newest version following documentation on https://www.ruby-lang.org. I have tried to install Homebrew manage Ruby upgrade but it wants my account to have admin privileges. Is there any other way to install Ruby?


@nohillside has reminded me in his comment:

The recommended way is "switch to your admin account, install ruby, switch back".