Shinji Kuwayama

Archive for the ‘Rails’ Category

19 Oct, 2009

Passenger+Apache Permission Error under Snow Leopard

Posted by: Shinji Kuwayama In: Rails| Tech Tips

So I started getting an Apache permission error when trying to load up a Ruby on Rails app under Passenger:
“You don’t have permission to access / on this server.”
After spinning my wheels for a little while, I discovered it was because I had turned on FileVault (in Snow Leopard, but I believe it’ll happen the [...]

26 Jun, 2009

Rolling mongrel restarts

Posted by: Shinji Kuwayama In: Rails| Tech Tips

A lot of us are using haproxy to manage mongrel clusters; it’s sweet, because haproxy is smart enough to “skip” unresponsive mongrels and make sure users get served active ones.
One problem you may have seen is during a deploy — when all the mongrels are restarted at once, haproxy ends up running around in circles, [...]


About

View Shinji Kuwayama's profile on LinkedIn Shinji Kuwayama is a Rails developer in Chicago, Illinois.

Twitter

Posting tweet...