lib/bundler/env.rb in bundler-1.16.4 vs lib/bundler/env.rb in bundler-1.16.5
- old
+ new
@@ -86,10 +86,10 @@
"not installed"
end
def self.version_of(script)
return "not installed" unless Bundler.which(script)
- `#{script} --version`
+ `#{script} --version`.chomp
end
def self.chruby_version
return "not installed" unless Bundler.which("chruby-exec")
`chruby-exec -- chruby --version`.