diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2018-01-31 08:47:35 -0300 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2018-01-31 08:48:06 -0300 |
commit | be337de36acf0d97a795b5f2bf5d7c14a910f968 (patch) | |
tree | d6db56ebc04ab740826297bff179db8cf8acc574 | |
parent | 6466c78c750399740069865337f8189d75e259ea (diff) | |
download | bundler-be337de36acf0d97a795b5f2bf5d7c14a910f968.tar.gz |
1.8.7 compatible file read
-rw-r--r-- | lib/bundler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index e559ad3d18..8fc8da6dcb 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -441,7 +441,7 @@ EOF def load_gemspec_uncached(file, validate = false) path = Pathname.new(file) - contents = path.binread + contents = read_file(file) spec = if contents.start_with?("---") # YAML header eval_yaml_gemspec(path, contents) else |