I swore I wouldn't

Icon

Oh no, I'm blogging now?

gc_sweep unknown data type problem SOLVED!

I recently encountered a cumbersome bug when trying to run a Ruby on Rails application (insoshi-based) on Ubuntu. Sporadically (but typically during events which involved attachment_fu) the server would crash and an error relating to “gc_sweep unknown data type” would show up in the log file. This did not occur in our development environments (Mac OSX) but only in UAT and prod environments (Ubuntu.) After much searching, stumbled upon a bug report that mentioned that this was a problem with ruby 1.8.7 versions prior to patch-level 300. Upgrading to 1.8.7p300 seems to have solved the problem. Will post a follow up if that turns out not to be the case.

I <3 Capistrano

I first heard about Capistrano when I was starting out with Ruby on Rails development.  At the time I did almost all of my work directly on the server and didn’t really need a way to deploy my application from dev to production.  Recently, however, I got tired of doing everything through Transmit+TextMate.  (I love both of these projects, but prefer to take full advantage of opening projects in TextMate.)  So I started doing my development locally and figured it was time to take advantage of Capistrano. Read the rest of this entry »