1
我最近升级到Snow Leopard,并且在遇到MySQL问题之后,我升级了它。我跟着these instructions并且自己使用these sources构建了MySQL。升级到Snow Leopard后Mysql2创业板问题
现在MySQL服务器工作正常,但我不能得到Mysql2宝石的工作。
启动任何应用程序Rails3中时,我不断收到此错误:
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle: dlopen(/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle, 9): no suitable image found. Did find: (LoadError)
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle: mach-o, but wrong architecture - /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle
我都试过了,但我仍然得到同样的错误。你有什么想法可能是错的?
你是如何解决这个问题的? – amaseuk 2011-01-13 15:52:36