Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pilcrow opened this issue May 25, 2010 · 1 comment
Closed

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

pilcrow opened this issue May 25, 2010 · 1 comment
Labels

Comments

@pilcrow
Copy link

pilcrow commented May 25, 2010

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
Copy link
Owner

Corrected fat-binary support. Closed by a06fc96

  • Namespace mysql_api component into mysql library path
  • Try search for {1.8, 1.9}/mysql_api inside mysql lib before directly
  • Removed RUBY_PLATFORM conditional.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants