summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby Swandale <me@colby.fyi>2018-12-18 13:35:31 +1100
committerColby Swandale <me@colby.fyi>2018-12-26 23:12:52 +1100
commitcfd8a156741ffbc9ea41044aa832b5e806577e70 (patch)
tree3288a17473824adfa3d0616c18c3cb151ba2a9e2
parent1080d1f881186c4d968944cbac5cc6b279a6e603 (diff)
downloadbundler-cfd8a156741ffbc9ea41044aa832b5e806577e70.tar.gz
fix installing gems on _really_ old versions of RubyGems
-rw-r--r--lib/bundler/rubygems_gem_installer.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_gem_installer.rb b/lib/bundler/rubygems_gem_installer.rb
index 2b7fa8e0f6..ca5b293d00 100644
--- a/lib/bundler/rubygems_gem_installer.rb
+++ b/lib/bundler/rubygems_gem_installer.rb
@@ -10,6 +10,14 @@ module Bundler
end
end
+
+ attr_reader :options
+
+ def initialize(gem, options = {})
+ @options = {}
+ super
+ end
+
def check_executable_overwrite(filename)
# Bundler needs to install gems regardless of binstub overwriting
end