I find this to be easier instruction http://stackoverflow.com/questions/19150017/ssl-error-when-installing-rubygems-unable-to-pull-data-from-https-rubygems-o/19151697#19151697
> PLEASE DON'T DO THIS. Downloading and running code from an insecure link > automatically is a short slip'n'slide to being hacked. > > If you're on OS X, check out this post for some troubleshooting steps: > http://mislav.uniqpath.com/2013/07/ruby-openssl/ > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/815ef67e-a417-4b30-9af4-1b3809e162d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.