Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 338997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:28:54+00:00 2026-05-12T10:28:54+00:00

I just upgraded my Leopard system to Snow. I had a Rails application with

  • 0

I just upgraded my Leopard system to Snow. I had a Rails application with a suite of Spec examples running before the upgrade; it used a mysql database.

After the upgrade, running rake spec would fail like this:

...
** Invoke db:schema:load (first_time)
** Invoke environment 
** Execute db:schema:load
rake aborted!
closed stream
/opt/local/lib/ruby/1.8/mysql.rb:1032:in `sync='
/opt/local/lib/ruby/1.8/mysql.rb:1032:in `write'
/opt/local/lib/ruby/1.8/mysql.rb:1092:in `finalizer
...

I already tried the following:

  • reinstalling Mysql 5.1.37 x86;
  • uninstalling the old mysql gem;
  • running rake:db:migrate, rake:db:prepare and so on before running rake:spec without success;
  • gem update –system.

The strangest thing is that the specs are running ok when called one by one through the command line, or directly from TextMate.

Any suggestion?

If you need further info, please, just ask 🙂

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T10:28:55+00:00Added an answer on May 12, 2026 at 10:28 am

    You might want to try to recompile your mysql gem. For me it was very easy to do this with Ruby 1.8.7, but I can not get it to work for 1.9.1. Anyway here are some links that may help.

    1. http://void-design.net/2009/08/05/ruby-191-mysql-and-a-snow-leopard/
    2. http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow-leopard-10a380/
    3. Rails, MySQL and Snow Leopard
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just upgraded to snow leopard. Before, I had everything running fine, but now
I just upgraded to Snow Leopard, including installing the new XCode, re-compiled Ruby 1.8
Just upgraded a MBP 2009 from Snow Leopard to Lion. MySQL seems to be
i just upgraded my macbook OS to Snow Leopard but all the provisining profiles
I just upgraded my Mac to Snow Leopard, and installed Xcode 3.2.3. The app
I just tried to play with Ruby on Rails on Snow Leopard. I was
I just upgraded to Snow Leopard and I'm trying to get it to use
I just upgraded my Mac from Leopard to Snow Leopard and in the process
I just upgraded from Snow Leopard to Lion, and an old python c-extension that
I had upgraded my OS into Snow Leopard, and I'm using Xcode 3.2 with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.