Skip to content

Instantly share code, notes, and snippets.

@liwh
Created April 15, 2011 09:17
Show Gist options
  • Save liwh/921442 to your computer and use it in GitHub Desktop.
Save liwh/921442 to your computer and use it in GitHub Desktop.
got rails g jquery:install open ssl error
when we using above generate cli ,got the
`connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
we can add this in our rails application.rb file . after we install the juqery ,we can delete it
require 'openssl'
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment