Running the tests, 1 failure. Doesn’t look like a failure to me Investigating… 1) Failure: test_new_articles(AnnounceArticleFunctionalTest) [test/functional/announce_article_test.rb:74:in `test_new_articles' /usr/lib/ruby/gems/1.8/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__' /usr/lib/ruby/gems/1.8/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']: <Wed, 21 May 2008 15:12:50 +0000> expected but was <Wed, 21 May 2008 15:12:50 +0000>.
Category > Ruby
How to fix that Rubygems mess on Leopard
I love Leopard and I love my Mac. I think Apple made the right decision by bundling Ruby and Rails with Leopard. However, I believe they screwed up big time in the execution. Leopard’s Rails installation worked great until I updated Rubygems with sudo gem update –system. After I did that, most of my gems [...]
A better approach to restarting a Mongrel cluster
At Karabunga, we use Mongrel, a lot. As our Rails applications become larger, the startup time of a Mongrel process becomes significant. As you know, restarting your a Mongrel cluster is a matter of issuing this command: /etc/init.d/mongrel_cluster restart. Here’s what happens for a cluster of 4 Mongrels: For one of our application, the “stop” [...]

