Skip to content

Instantly share code, notes, and snippets.

@meetme2meat
Created February 15, 2016 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meetme2meat/1fa550cd01779615c1e0 to your computer and use it in GitHub Desktop.
Save meetme2meat/1fa550cd01779615c1e0 to your computer and use it in GitHub Desktop.
unless Rails.env.production?
class Net::HTTP
def verify_mode=(verify_mode)
@verify_mode = OpenSSL::SSL::VERIFY_NONE
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment