Entries Tagged as 'code'

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 new version and [...]

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 [...]

Monday, February 16th, 2009

New Cerberus Release

Cerberus 0.4.4 has been officially released