summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-03-25 14:19:31 -0700
committerAzul <azul@leap.se>2013-07-17 10:46:26 +0200
commit90704196eb1bdcea8781a548fb74d98d56bcb6e3 (patch)
tree5f67400b9ade3399582e3afebe852aaf6d9fdfb4 /config
parent2e05c95fab5186c40f6797d13f7858820c540cac (diff)
Hacky, but avoids SSL certificate error in development mode.
Diffstat (limited to 'config')
-rw-r--r--config/environments/development.rb4
1 files changed, 4 insertions, 0 deletions
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