How do I point my Heroku OAuth/RoR app to curl-ca-bundle.crt?

I am using Oauth to connect to facebook, and it works fine for local development.

I want to run this on Heroku however, and there I get this error:

2012-06-14T15:50:16+00:00 app[web.1]: Errno::ENOENT (No such file or directory - Certificate file "/opt/local/share/curl/curl-ca-bundle.crt" does not exist!):
2012-06-14T15:50:16+00:00 app[web.1]:   app/controllers/sharing_controller.rb:138:in `facebook_callback'

I have configured the SSL endpoint in Heroku but that did not change anything.

Answers


I figured it out -

I had to change the Koala cert path parameter:

Old: Koala.http_service.ca_file = '/opt/local/share/curl/curl-ca-bundle.crt'

New: Koala.http_service.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'


Need Your Help

Table filter in Report Builder DateDiff

function reporting-services datediff

I want to add a filter to a table in Report Builder. I want to get only the records from the last 12 hours. I have tried this, but it doesn't work.