Note that there are some explanatory texts on larger screens.

plurals
  1. POTrouble compiling mysql gem on Snow Leopard
    primarykey
    data
    text
    <p>I recently installed mysql-5.5.9-osx10.6-x86_64 on a fresh copy of Snow Leopard.</p> <p>Though the version reports i386.</p> <pre><code>./mysql --version Ver 14.14 Distrib 5.5.9, for osx10.6 (i386) using readline 5.1 </code></pre> <p>Is this the expected behavior?</p> <p>I am using Snow Leopard with 64 bit extensions on. I have installed ruby-1.8.7-p334 [ x86_64 ] using RVM and ensured that it is selected.</p> <p>I am compiling the mysql gem using:</p> <pre><code>sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-dir=/usr/local/mysql </code></pre> <p>Though when I attempt to run the Rails app I get the following error:</p> <pre><code>/!\ FAILSAFE /!\ Tue Mar 15 17:31:32 -0400 2011 Status: 500 Internal Server Error uninitialized constant MysqlCompat::MysqlRes /Users/jaredbrown/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:440:in `load_missing_constant' /Users/jaredbrown/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing_not_from_s3_library' /Users/jaredbrown/.rvm/gems/ruby-1.8.7-p334/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:206:in `const_missing' /Users/jaredbrown/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.4/lib/active_record/connection_adapters/mysql_adapter.rb:9:in `define_all_hashes_method!' /Users/jaredbrown/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-2.3.4/lib/active_record/connection_adapters/mysql_adapter.rb:66:in `mysql_connection' </code></pre> <p>I believe the gem is building correctly but I still get the MySQL error. At this point I am scratching my head over this.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload