TwP / inifile

Native Ruby package for reading and writing INI files
http://codeforpeople.rubyforge.org/inifile
95 stars 47 forks source link

Could not parse line error if value contains "=" #33

Closed dalelotts closed 9 years ago

dalelotts commented 9 years ago

The following lines throw a could not parse error

VALUE=ends_with_equals=
AND_VALUE=ends_with_double_equals==
OR_VALUE=contains_=_anywhere

26 seems to be the same issue but is is closed.

I cloned the repository with the intention of diagnosing the problem, but I am unable to run the tests:

Successfully installed bones-3.8.1
1 gem installed
➜  inifile git:(master) ✗ rake test                                                                                                                                                                        
rake aborted!
ArgumentError: invalid byte sequence in US-ASCII
/Users/ulottda/.rvm/gems/ruby-2.0.0-p481/gems/bones-3.8.1/lib/bones/helpers.rb:48:in `delete' 
dalelotts commented 9 years ago

Sorry, bundle installed 2.0.2 for some reason - using 3.0.0 fixes"=" issue.

No solution for the source code. =|