Skip to content

Instantly share code, notes, and snippets.

@danielribeiro
Created June 3, 2016 21:31
Show Gist options
  • Save danielribeiro/d881cea79add992c3c09ad6dfd1e1fd8 to your computer and use it in GitHub Desktop.
Save danielribeiro/d881cea79add992c3c09ad6dfd1e1fd8 to your computer and use it in GitHub Desktop.
require 'openssl'
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
@danielribeiro
Copy link
Author

danielribeiro commented Jun 3, 2016

Sample usage

RUBYOPT='-r ./fixingssl.rb' ruby -e 'puts :hi'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment