SSL error using Ruby dropbox-sdk

My scraper is no longer working and is throwing this SSL error:
`Injecting scraper and running…

/app/vendor/bundle/ruby/2.2.0/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:103:in `rescue in do_http': SSL error connecting to Dropbox.  There may be a problem with the set of certificates in "/app/vendor/bundle/ruby/2.2.0/gems/dropbox-sdk-1.6.5/lib/trusted-certs.crt".  SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (DropboxError)

from /app/vendor/bundle/ruby/2.2.0/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:100:in `do_http'

from /app/vendor/bundle/ruby/2.2.0/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:179:in `do_http'

from /app/vendor/bundle/ruby/2.2.0/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:188:in `do_get'

from /app/vendor/bundle/ruby/2.2.0/gems/dropbox-sdk-1.6.5/lib/dropbox_sdk.rb:1122:in `metadata'

from /app/dropbox_client.rb:12:in `get_file_paths'

from scraper.rb:8:in `<main>'`

The last successful run was 11 days ago, and I haven’t had any issues running locally.

Hi @tmhammer, this is because morph.io runs mitmproxy to log the addresses your scraper connects to - it’s what makes the thing that says “Scrapes example.com” on your scraper work.

Usually you don’t notice because we’ve added a certificate to the system that runs your scraper and most languages and libraries use this. For some reason the Dropbox gem you’re using doesn’t use the system certificates. Are you able to tell it to use the system certificates?