aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/source/vendor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/source/vendor.rb')
-rw-r--r--lib/rubygems/source/vendor.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/source/vendor.rb b/lib/rubygems/source/vendor.rb
index 244c4201d8..2d936231c1 100644
--- a/lib/rubygems/source/vendor.rb
+++ b/lib/rubygems/source/vendor.rb
@@ -12,6 +12,8 @@ class Gem::Source::Vendor < Gem::Source::Installed
def <=> other
case other
+ when Gem::Source::Lock then
+ -1
when Gem::Source::Vendor then
0
when Gem::Source then