summaryrefslogtreecommitdiff
path: root/lib/bundler/env.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2018-08-30 17:20:44 -0300
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2018-08-30 17:22:36 -0300
commita4c3c52433cc236deff997eee098ffd5b7f569af (patch)
treefa509517eaac2137e39c059b5c867175a22e42ad /lib/bundler/env.rb
parent4e215b74197581de3b11cf3e2948d604da7ca2d6 (diff)
downloadbundler-a4c3c52433cc236deff997eee098ffd5b7f569af.tar.gz
Remove extra new lines from `bundle env` output
Diffstat (limited to 'lib/bundler/env.rb')
-rw-r--r--lib/bundler/env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/env.rb b/lib/bundler/env.rb
index 923a14de0c..171b6520ad 100644
--- a/lib/bundler/env.rb
+++ b/lib/bundler/env.rb
@@ -88,7 +88,7 @@ module Bundler
def self.version_of(script)
return "not installed" unless Bundler.which(script)
- `#{script} --version`
+ `#{script} --version`.chomp
end
def self.chruby_version