diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-03-16 23:33:12 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-03-16 23:33:12 -0700 |
commit | deda6851ba236a18a287f0165c81294854ee9a1c (patch) | |
tree | 02e3d1aab0dd44640e1c4741a2cbbacbbd3a67d1 | |
parent | f37571e8555448b8b2cbbf3949d037b2a2ea4e24 (diff) | |
download | bundler-deda6851ba236a18a287f0165c81294854ee9a1c.tar.gz |
[DSLError] Fix for #lines returning an enumerator
-rw-r--r-- | lib/bundler/dsl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb index 1069fcae25..c14f9a7ada 100644 --- a/lib/bundler/dsl.rb +++ b/lib/bundler/dsl.rb @@ -392,7 +392,7 @@ module Bundler line_numer = trace_line.split(':')[1].to_i - 1 return m unless line_numer - lines = contents.lines + lines = contents.lines.to_a indent = ' # ' indicator = indent.gsub('#', '>') first_line = (line_numer.zero?) |