While it may not be exactly what you need, I really suggest looking into RVM. It allows you to easily install any version of Ruby and any gems straight in your home directory, entirely painlessly. even if you have no privileges on the system.

https://rvm.io/

-- 
Matma Rex