lib/engineyard-serverside/lockfile_parser.rb in engineyard-serverside-1.2.1 vs lib/engineyard-serverside/lockfile_parser.rb in engineyard-serverside-1.2.2
- old
+ new
@@ -33,10 +33,10 @@
dep_section << line
end
end
unless dep_section.length > 0
- raise "Couldn't parse #{lockfile}; exiting"
+ raise "Couldn't parse #{@contents}; exiting"
exit(1)
end
result = dep_section.scan(/^\s*bundler\s*\(=\s*([^\)]+)\)/).first
bundler_version = result ? result.first : nil