summaryrefslogtreecommitdiff
path: root/lib/bundler/index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/index.rb')
-rw-r--r--lib/bundler/index.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/index.rb b/lib/bundler/index.rb
index 1ca9af19a0..b2105cf682 100644
--- a/lib/bundler/index.rb
+++ b/lib/bundler/index.rb
@@ -104,7 +104,7 @@ module Bundler
def same_version?(a, b)
regex = /^(.*?)(?:\.0)*$/
- ret = a.to_s[regex, 1] == b.to_s[regex, 1]
+ a.to_s[regex, 1] == b.to_s[regex, 1]
end
def spec_satisfies_dependency?(spec, dep)