Ruby on Rails local SSH installation - centos i686

I'm totally new to both Rails and this Centos server I got a shell on. Could anyone help me install Ruby on Rails (local installation, so I dont have to ask root to install) through the ssh? Its a centos i686 box