summaryrefslogtreecommitdiff
path: root/lib/bundler
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-09-06 12:20:35 -0400
committerSamuel Giddins <segiddins@segiddins.me>2016-09-06 12:20:35 -0400
commitd4cb1b39797e7ea530c15abf34be402c5867238d (patch)
tree370bbed2d6064eabaf708e96958ba35231afbf57 /lib/bundler
parent1e37ee4d7197412c6267641ed70455d6950a9ce0 (diff)
downloadbundler-d4cb1b39797e7ea530c15abf34be402c5867238d.tar.gz
[Source] Remove empty parenthesis in installing gem messageseg-no-empty-parens-install-message
Diffstat (limited to 'lib/bundler')
-rw-r--r--lib/bundler/source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index b6f3a4311d..166c1d241c 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -14,7 +14,7 @@ module Bundler
def version_message(spec)
message = "#{spec.name} #{spec.version}"
- message += " (#{spec.platform})" if spec.platform != Gem::Platform::RUBY
+ message += " (#{spec.platform})" if spec.platform != Gem::Platform::RUBY && !spec.platform.nil?
if Bundler.locked_gems
locked_spec = Bundler.locked_gems.specs.find {|s| s.name == spec.name }