Thanks Stefano. Its strange, I did a search for ruby on rails in wiki, forums, howto etc, but the software collections item did not show.
So I already had software collections installed (for nextcloud), when I went to install ruby with enablerepo=centos-sclo-rh and all others disabled, it could not find ruby. I tried without disablerepo and the only ruby shown was 1.8.7.
I ran yum list available --disablerepo=* --enablerepo=centos-sclo-rh | grep ruby and it showed ruby193 and ruby200 available. I installed ruby200 with its dependencies but when running ruby -v or ruby200 -v the VM put its hands in the air and went silent.
So, I tried installing ruby193 with the same result. I also went into /opt/rh/ruby193 and ran >sh ./enable as well as the v8314 folder.
Same result.
edit - OK, sort of have it running. Have tried with both ruby193 and ruby200, I can get the version up with >scl enable ruby200 'ruby -v' but when I go to install rails using gem it complains I don't have ruby-2.2.2 now.
Last error message is 'activsupport requires Ruby version >= 2.2.2.
Thoughts?
Is there some documentation I have been unable to find on the site that I am missing?