summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-04-19 20:22:46 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-04-19 20:22:46 -0700
commit9106c36c02db48e412024a306d0fe8cd467fb321 (patch)
treeb012c4617d35560607e706ded77c7e608629b0e8
parentaffcaefa8898503cb17ac1d327f2b588925e27d5 (diff)
downloadbundler-9106c36c02db48e412024a306d0fe8cd467fb321.tar.gz
[Installer] Remove unused method
-rw-r--r--lib/bundler/installer.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index 68fd5cad75..0e72f5a17b 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -281,16 +281,6 @@ module Bundler
ParallelInstaller.call(self, specs, size, standalone, force)
end
- # We only want to install a gem spec if all its dependencies are met.
- # If the dependency is no longer in the `remains` hash then it has been met.
- # If a dependency is only development or is self referential it can be ignored.
- def ready_to_install?(spec, remains)
- spec.dependencies.none? do |dep|
- next if dep.type == :development || dep.name == spec.name
- remains[dep.name]
- end
- end
-
def create_bundle_path
Bundler.mkdir_p(Bundler.bundle_path.to_s) unless Bundler.bundle_path.exist?
rescue Errno::EEXIST