My install of ruby (from darwinports) does not appear to have ssl support. Openssl is installed (from darwinports). How can I make darwinports compile ssl support into ruby?
People succeed in answering Adam Thorsen's questions 46% of the time (24 successes in 52 attempts).
Answers by: Jake McArthur
The Ruby portfile has no variants at all and seems to compile with SSL support for me, so this makes me believe that you are simply not using the same Ruby that you are installing. By default, Darwinports installs Ruby into /opt/local/bin. Make sure that your path is correct.
I'm using the correct ruby.
This is the error:
https://api.paypal.com/2.0/
/opt/local/lib/ruby/1.8/soap/httpconfigloader.rb:64:in `set_ssl_config': SSL not supported (NotImplementedError)
from /opt/local/lib/ruby/1.8/soap/property.rb:140:in `each'
from /opt/local/lib/ruby/1.8/soap/property.rb:139:in `each'
from /opt/local/lib/ruby/1.8/soap/httpconfigloader.rb:61:in `set_ssl_config'
from /opt/local/lib/ruby/1.8/soap/httpconfigloader.rb:36:in `set_options'
from /opt/local/lib/ruby/1.8/soap/property.rb:115:in `[]='
from /opt/local/lib/ruby/1.8/soap/property.rb:114:in `[]='
from script/masspayment.rb:25:in `initialize'
from script/masspayment.rb:90
Perhaps I'm missing a library?
Install http-access2 and you should be set.