After having written useful scripts into makandra notes for a long time, we’ve now tied them into a powerful...
Since May 2011 we are cutting new gems using Bundler, which is less painful than cutting gems using Jeweler. You...
We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...
Run rspec-and-cucumber from any project directory to run both RSpec and Cucumber. If available, rspec_spinner or cucumber...
Make sure you understand differences between git's areas (such as stash, workspace, upstream, etc.) and what commands affect which...
Whenever is a Ruby gem that provides a clear syntax for writing and deploying cron jobs.
We often have a separate production branch that lags a bit behind the more cutting edge main branch. Sometimes you...
You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...
Airbrake (formerly Hoptoad) already ignores certain errors like InvalidAuthenticityToken by default (see Airbrake::Configuration::IGNORE_DEFAULT).\ To ignore additional classes...
To display a list of your current Git remotes and their endpoints, you can say git remote -v
If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc
One of the thornier problems in our workflow is knowing when assets are delivered from the designer and keeping them...
blueprint is DevStructure’s workhorse tool that looks inside popular package managers, finds changes you made to configuration files, and...
Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2
Merging .po-files with Git is painful. There have been attempts of making Git more clever when trying to merge...
The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...
Adds a slide out panel to your Rails application that directs clients to test stories that have been marked as...
This tool is used on our application servers (and called when deploying) but it also works locally. Just call dumple...
When you try to remove a non-existing index using remove_index, the migration will incorrectly pass without an error...
jQuery plugin to register callback functions to keyboard shortkuts. Keyboard events in vanilla Javascripts are super-painful to work with...
Call geordi clean from a project root to remove unused and unnecessary files inside it. This script is part of...
Git allows you to do a binary search across commits to hunt down the commit that introduced a bug.
If you need to find out which of your local commits are not on the remote server do this:
The ‘merge.*.driver` variable’s value is used to construct a command to run to merge ancestor’s version, current...