try to run
yum install libssl-dev
before calling rbenv
You need install the library before installing ruby