ruby 1.8.7p249 + rails 2.3.5 + Snow Leopard = hung processes?

A few weeks ago I updated my development computer to Snow Leopard (finally). I put it off because I was in the middle of a project, and it seems its a good thing I did. Last week I started something new and it seems that any rails related ruby process will get ... stuck, I guess is the best word. I've seen it happen as soon as a minute, or take as long as an hour. It happens for script/server and script/ runner based processes; as far as I've been able to tell, it doesn't happen with pure ruby processes, but then again the test script I used wasn't trying to do things like connect to a MySQL DB. When the processes get stuck, control-c does not stop them, they have to be forced to quit with "kill -9".

Has anyone else seen this?

Thanks!

Mark

Some info from my environment...

ruby --version

ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10.2.0]

env | grep RUBY

RUBYOPT=rubygems

mysql --version

mysql Ver 14.14 Distrib 5.1.44, for apple-darwin10.2.0 (i386) using readline 5.1

gem list --local

actionmailer (2.3.5, 2.1.1) actionpack (2.3.5, 2.1.1) activerecord (2.3.5, 2.1.1) activeresource (2.3.5, 2.1.1) activesupport (2.3.5, 2.1.1) ... mongrel (1.1.5) mysql (2.8.1) ... rails (2.3.5, 2.1.1) rake (0.8.7, 0.8.3) ... rubyforge (2.0.3, 1.0.1) rubygems-update (1.3.6, 1.3.5) ...

gem --version

1.3.6

I found this blog article just after posting: http://www.darianshimy.com/2009/09/fixing-rails-in-snow-leopard/

I figured I'd try his fix for mongrel, which involves uninstalling the gem and re-installing it. But whenever I try to run "sudo gem install mongrel", the gem process seems to hang. I've had it running for 10 minutes now, and with verbose output turned on, this is all its said:

sudo gem install --verbose mongrel

GET RubyGems.org | your community gem host 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz

I was able to access http://production.s3.rubygems.org/latest_specs.4.8.gz in my browser and the file downloaded in a few seconds, so I doubt that's the issue.

At the same time, I was able to run "sudo gem install thin" and there were no problems.

Mark