Entries Tagged as 'code'

Saturday, May 21st, 2011

guard-annotate Gem Released

I’ve been meaning to look into the guard gem for a while now. After falling out of love with ZenTest/Autotest, and switching back and forth between watchr and autotest-standalone, I’ve had a few friends who recommended giving guard a try. Last night, one of those friends retweeted a request for a guard plugin to work [...]

Wednesday, August 5th, 2009

Cerberus 0.7 Released

This morning I released version 0.7 of the Cerberus continuous integration gem. The gem (and zip and tarballs) are all available now via RubyForge. Thanks to all who had a part in this release. Paul Hinze added bazaar SCM support. Joe Van Dyk did some general code cleanup and Git SCM updates. So, grab the [...]

Saturday, May 30th, 2009

How to integrate punBB into an existing Ruby on Rails application

A quick tutorial on how to integrate the punBB forum system into an existing Rails application with a single sign-on for both systems.

Wednesday, May 20th, 2009

Setting Static Asset Expires Headers with nginx and Passenger

How to set HTTP expires headers for your static assets when running nginx+passenger

Sunday, May 17th, 2009

Getting Capistrano’s web:disable To Work With Nginx

Recently I deployed a new Ruby on Rails application using nginx+passenger instead of the usual apache+passenger configuration. As a result, I couldn’t use the traditional Apache rewrite rules to display the maintenance.html page if it existed. Here are the necessary corresponding rewrite rules for nginx to achieve the same effect. if (-f $document_root/system/maintenance.html) { rewrite [...]