TwP / inifile

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

Doesn't work in Ruby 1.8.7 #35

Open kirillk77 opened 9 years ago

kirillk77 commented 9 years ago

adminuser@ubuntu-1204:~$ ruby1.8 --version ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] adminuser@ubuntu-1204:~$ irb1.8 irb(main):001:0> require 'inifile' SyntaxError: /usr/lib/ruby/vendor_ruby/inifile.rb:558: undefined (?...) sequence: /\A"(.*)(?<!)"\z/ from (irb):1:in `require' from (irb):1 from :0

joserwan commented 9 years ago

Same problem here with inifile 3.0.0. Version 1.1.0 is OK.

Mazwak commented 9 years ago

You do realize 1.8.7 has been abandonned almost 2 years ago ? I don't think you should expect gems to work on it.

That said, you could try to install oniguruma, the regex lib for 1.9 and later, if I'm not mistaken. http://www.geocities.jp/kosako3/oniguruma/

joserwan commented 9 years ago

It's OK not to make 3.0.0 compatible with ruby 1.8.7 !