Hi, trying to install gem "mysql" in Ruby 1.9.1 I get an error:
error: ‘struct RString’ has no member named ‘ptr’
This is due to RString changes from Ruby 1.8 (now in 1.9.1 RSTRING_PTR(arg)
must be used instead of RSTRING(arg)->ptr).
What can I do to get mysql working in Ruby 1.9.1? where can I get an updated
MySQL driver?
Thanks a lot.
···
--
Iñaki Baz Castillo <ibc@aliax.net>
I've got it from here:
http://github.com/radar/mysql/tree/master
and also good doc about this issue here:
frozenplague.net
···
El Sábado 04 Abril 2009, Iñaki Baz Castillo escribió:
Hi, trying to install gem "mysql" in Ruby 1.9.1 I get an error:
error: ‘struct RString’ has no member named ‘ptr’
This is due to RString changes from Ruby 1.8 (now in 1.9.1 RSTRING_PTR(arg)
must be used instead of RSTRING(arg)->ptr).
What can I do to get mysql working in Ruby 1.9.1? where can I get an
updated MySQL driver?
--
Iñaki Baz Castillo <ibc@aliax.net>