If you have RVM already up, can you use the puppet gem instead?
Note: I would create a gemset here first, here but that's another story.
$rvm use 1.8.7
$gem install puppet -v 2.7.6
As for configuring openssl, I had this battle with iconv today:
http://beginrescueend.com/packages/openssl/
-Charl
I installed RVM, then used that to install Ruby. Installed openssl
from RVM in the process. However, when I try to install facter or
puppet I get "Could not load openssl; could not install".
Sequence of events looked like:
rvm pkg install
rvm pkg install openssl
rvm install 1.8.7 --with-openssl-