/usr/lib/ruby/gems/1.9.1/gems/inifile-2.0.2/lib/inifile.rb:523:in `parse_error': Could not parse line: "Exec=/usr/lib/chromium/chromium --profile-directory=Default --app-id=ihmgiclibbndffejedjimfjmfoabpcke" (IniFile::Error)
Everything works fine except for this row which can't be parsed, i tried to find where there error is generated and seems that applying the comments as below in the parse! method it works:
...
# look for the separator between property name and value
elsif scanner.scan(%r/#{@param}/)
# if property.empty?
property = string.strip
string.slice!(0, string.length)
# else
# p property
# parse_error
# end
# look for the start of a new section
...
As stated in the title here is the error:
/usr/lib/ruby/gems/1.9.1/gems/inifile-2.0.2/lib/inifile.rb:523:in `parse_error': Could not parse line: "Exec=/usr/lib/chromium/chromium --profile-directory=Default --app-id=ihmgiclibbndffejedjimfjmfoabpcke" (IniFile::Error)
Everything works fine except for this row which can't be parsed, i tried to find where there error is generated and seems that applying the comments as below in the parse! method it works: