Rails Command: rails s and thin start --ssl

bruceyue · November 05, 2012 · Last by small_fish__ replied at November 20, 2012 · 3001 hits

I used OmniAuth in my rails app, but when I started the app use rails s, it's showed SSL error, but thin start --ssl, it worked correctly and no logs on the console. Anybody can help me? Thanks.

你能告诉我 salesfore 上,如何得到 SALESFORCE_KEY,SALESFORCE_SECRET 吗?

module OpenSSL
  module SSL
    remove_const :VERIFY_PEER
  end
end
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE

create a remote app in your org, then you'll get them.

You need to Sign in before reply, if you don't have an account, please Sign up first.