summaryrefslogtreecommitdiff
path: root/config/environments/development.rb
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2014-01-21 10:17:35 -0800
committerjessib <jessib@riseup.net>2014-01-21 10:17:35 -0800
commit77520ca1d1d6f932bb6d56f48effcadf4b623802 (patch)
treeb81a23251048848a68c559456e9581b4e8799aca /config/environments/development.rb
parenta19d01313ac534bdbbd8381593f887f1f77c94d5 (diff)
parent8c087dc69174a5fbd9390b5c3a795fd0f56f6ed2 (diff)
Merge branch 'develop' into feature/messages_api
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index adde3ba..7b06c81 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -29,7 +29,7 @@ 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
-
+ # super hacky, but otherwise getting certificate error, and doesn't seem dangerous in development mode:
+ OpenSSL::SSL.send(:remove_const, "VERIFY_PEER")
+ OpenSSL::SSL.const_set("VERIFY_PEER", OpenSSL::SSL::VERIFY_NONE)
end