From 90704196eb1bdcea8781a548fb74d98d56bcb6e3 Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 25 Mar 2013 14:19:31 -0700 Subject: Hacky, but avoids SSL certificate error in development mode. --- config/environments/development.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/environments') diff --git a/config/environments/development.rb b/config/environments/development.rb index 9ff9476..adde3ba 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -28,4 +28,8 @@ LeapWeb::Application.configure do # Expands the lines which load the assets config.assets.debug = true + + # hacky, but otherwise getting certificate error, and doesn't seem dangerous in development mode: + OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE + end -- cgit v1.2.3