summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2017-03-23 20:39:08 +0000
committerThe Bundler Bot <bot@bundler.io>2017-03-23 20:39:08 +0000
commit9e52df7958bf72c43770a13868dc8e74aa3628d3 (patch)
tree20bef1af3eba57619728d6e973b8d3add1051753
parent5c29724cea208aaa25b8b6af9f2764f678768032 (diff)
parent457ec14fe2823d689be4efc2832eab01b5aafdbf (diff)
downloadbundler-9e52df7958bf72c43770a13868dc8e74aa3628d3.tar.gz
Auto merge of #5534 - rafaelfranca:fix-mirror-socket, r=andremedeiros
Require socket in the file that needs it Closes #5533
-rw-r--r--lib/bundler/mirror.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/mirror.rb b/lib/bundler/mirror.rb
index a1f3aaefa2..97a6776adb 100644
--- a/lib/bundler/mirror.rb
+++ b/lib/bundler/mirror.rb
@@ -1,4 +1,6 @@
# frozen_string_literal: true
+require "socket"
+
module Bundler
class Settings
# Class used to build the mirror set and then find a mirror for a given URI