I tried installing puppet with foreman using foreman installer. It uses ruby version 2.0 and after that i installed r10k which requires ruby version >2.3. So i updated ruby using gems after which my foreman stopped working. Any solution will be appreciated.
Install r10k using the puppet module available on puppet forge.
You can also bypass the current version of ruby & set it to Ruby version 2.3 for the current working shell using the below command
scl enable rh-ruby23 bash