luislavena / mysql-gem

MySQL/Ruby Bindings, wrapped as Gem with improved cross-platform support
http://rubyforge.org/projects/mysql-win
Other
53 stars 20 forks source link

mysql-gem faulty "fat binary" support: silent failure on *NIX #6

Closed pilcrow closed 14 years ago

pilcrow commented 14 years ago

Issue

On non-Windows platforms, .../lib/mysql.rb silently discards any LoadError when loading mysql_api. *NIX platforms might give such an error if the system version of MySQL was incompatibly upgraded beyond that against which the mysql/ruby gem was built.

Symptoms

The ::Mysql module is created but more-or-less empty, with no methods and no meaningful constants. Example end-user symptoms are reported here and here.

luislavena commented 14 years ago

Corrected fat-binary support. Closed by a06fc96c03dc8d7cc62567d13c88875906546538