This Article is a Troubleshooting for Ruby on Rails 3 Error Message: “no such file to load — openssl”.
The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Follow.
I suppose here you are Using the Ruby RVM, if Not you Find a Link for Installing RVM Ruby Version Manager on Fedora to the Article Bottom.
Remove the Installed Rubies
rvm remove 1.X.Y
sudo yum install openssl-devel
rvm install 1.X.Y
How to Install RVM on Linux.