summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-10 22:19:40 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-14 00:45:09 +0100
commit1cc82538dbd189a56fc5bdeed9ef5eb325b5bb1c (patch)
tree41e21346fe205cb87f157a5025084495d3a70de3
parent42251e5e2ae89f1086ab9f3ebd140a8cf3c4c3ac (diff)
downloadbundler-1cc82538dbd189a56fc5bdeed9ef5eb325b5bb1c.tar.gz
Fix show command output/error streams
Before it was printing half a sentence to stderr and half to stdout.
-rw-r--r--lib/bundler/cli/show.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/show.rb b/lib/bundler/cli/show.rb
index 61756801b2..3748c25b89 100644
--- a/lib/bundler/cli/show.rb
+++ b/lib/bundler/cli/show.rb
@@ -24,7 +24,7 @@ module Bundler
return unless spec
path = spec.full_gem_path
unless File.directory?(path)
- Bundler.ui.warn "The gem #{gem_name} has been deleted. It was installed at:"
+ return Bundler.ui.warn "The gem #{gem_name} has been deleted. It was installed at: #{path}"
end
end
return Bundler.ui.info(path)