This worked for me:

1) Compile SSL from scratch

2) Make note of the install location, shown as 
/where/you/installed/openssl below

3) Use the earlier instruction (above) to manually create the extension:

cd ext/openssl
../../ruby extconf.rb 
--with-openssl-include=/where/you/installed/openssl/include 
--with-openssl-lib=/where/you/installed/openssl
LD_RUN_PATH=/where/you/installed/openssl/lib make
make install

I'm not sure the LD_RUN_PATH is needed, but I've had problems with Ruby 
before so included it to be safe.

-Nate
-- 
Posted via http://www.ruby-forum.com/.