Sort:  

I recommend rvm to manage ruby if the system version is giving you trouble:

https://rvm.io/

Ok thank you i will do the same