On 9 Dec 2008, at 10:51, Ashley Moran wrote:
On 9 Dec 2008, at 09:45, Francis Fish wrote:Ah, probably need to get to the place where the constants are defined and do something with const_defined? so only set once. Alternatively const_get can get/set the constant on the fly but that makes the nice ruby syntax go away. Once you get that working persuade Ola to fold it back into the code base? Or, maybe, turn off warnings (probably not a good idea).Actually it turned out there is a more serious issue[1]. I think it's the httpclient library that causes the problem, because when I remove the certificate file from the gem, the warnings go away too. (Maybe it's just not loading that code.)
Might not be the issue, but when I ran into the HTTP library causing issues with SSL (it was a self-signed cert) I had to do the following:
http = Net::HTTP.new( url.host, url.port ) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE # then get/post stuff with http C --- Caius Durling [EMAIL PROTECTED] +44 (0) 7960 268 100 http://caius.name/
PGP.sig
Description: This is a digitally signed message part
