Omniauth Facebook Error - Faraday::Error::ConnectionFailed

后端 未结 9 1823
滥情空心
滥情空心 2020-11-28 20:31

(FYI: I\'m following the Twitter Omniauth from railscast #241. I used Twitter successfully, now going onto Facebook)

As soon as I logged into Facebook using Omniauth

9条回答
  •  春和景丽
    2020-11-28 20:58

    I've fixed this on Mac OS X Lion 10.7.4 with this solution:

    $ rvm remove 1.9.3 (or whatever version of ruby you are using)
    $ rvm pkg install openssl
    $ rvm install 1.9.3 --with-openssl-dir=$rvm_path/usr
    

    after this you will need to download the missing cacert.pem file:

    $ cd $rvm_path/usr/ssl
    $ sudo curl -O http://curl.haxx.se/ca/cacert.pem
    $ sudo mv cacert.pem cert.pem
    

提交回复
热议问题