summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/lockfile_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb
index eca9183a55..058633e409 100644
--- a/lib/bundler/lockfile_parser.rb
+++ b/lib/bundler/lockfile_parser.rb
@@ -21,7 +21,7 @@ module Bundler
@specs = []
@state = :source
- lockfile.split(/(\r?\n)+/).each do |line|
+ lockfile.split(/(?:\r?\n)+/).each do |line|
if line == "DEPENDENCIES"
@state = :dependency
elsif line == "PLATFORMS"