Faster Capistrano deployments

“Release early, release often”, a philosophy that emphasizes the importance of early and frequent releases in creating a tight feedback loop. I’ve been trying to push my code to production as often as possible. But I’ve been having a problem with the asset pipeline. From the moment Capistrano hits the deploy:assets:precompile task, it might take … Continue reading Faster Capistrano deployments

Deployments automation with Capistrano

Deployments are a critical phase in any software project. I can still remember the time where I needed to deploy code changes to production using nothing more than FTP to upload all the changed files. Oh boy, the elevated heart rate, logged in on the production server to intervene when something went wrong. From time … Continue reading Deployments automation with Capistrano

Testing your ruby command-line tools

Creating a command-line app in ruby might be fun, being able to test them is just as important as testing any other web application. But you can do this with Aruba. Aruba is a Cucumber extension for testing command-line applications written in any language. Passing arguments, interacting with the file system, capturing exist codes en mimicking … Continue reading Testing your ruby command-line tools

Git workflow: master – origin – upstream – and production

Setting up a git workflow might be a tedious task, but can save you a lot of troubles over time. For me, this particular quest started when I wanted to use Chiliproject to manage my client projects. Not only did I wanted to easily configure and deploy it, I also wanted to contribute to it, … Continue reading Git workflow: master – origin – upstream – and production

Enable syntax highlighting in Mac OSX Snow Leopard

One of the main reasons I switched to Mac was the fact that the user interface is polished and I still maintain the power and freedom I find Linux. But one downside in Mac Terminal is that there is no standard syntax highlighting. So here is some info how I got to enable some basic … Continue reading Enable syntax highlighting in Mac OSX Snow Leopard