diff options
| author | Jack Nagel | 2014-06-04 01:35:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-04 01:37:56 -0500 |
| commit | d29d5d7e92d842febe1a4407b44778ae42b5bb4d (patch) | |
| tree | 04045e68b31a79a00b4ff894257d393edd75c20b /Library/Homebrew/cmd | |
| parent | 8cb980f7befd7c797b255ac05e9df245c94eb700 (diff) | |
| download | brew-d29d5d7e92d842febe1a4407b44778ae42b5bb4d.tar.bz2 | |
Fix some places where encoding issues manifest on ruby 2.0
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 6d3f9ba92..8c07a6f8d 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -67,7 +67,7 @@ module Homebrew extend self end # Use strings to search through the file for each string - IO.popen("strings -t x - '#{file}'") do |io| + IO.popen("strings -t x - '#{file}'", "rb") do |io| until io.eof? str = io.readline.chomp |
