Run rspec-and-cucumber from any project directory to run both RSpec and Cucumber. If available, rspec_spinner or cucumber...

makandra dev
ndpsoftware.com

Make sure you understand differences between git's areas (such as stash, workspace, upstream, etc.) and what commands affect which...

github.com

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

makandra dev

If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc

pivotallabs.com

One of the thornier problems in our workflow is knowing when assets are delivered from the designer and keeping them...

devstructure.com

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

makandra dev
github.com

The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...

github.com

Adds a slide out panel to your Rails application that directs clients to test stories that have been marked as...

makandra dev

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

github.com

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

kernel.org

Git allows you to do a binary search across commits to hunt down the commit that introduced a bug.

linux.die.net

If you need to find out which of your local commits are not on the remote server do this:

kernel.org

The ‘merge.*.driver` variable’s value is used to construct a command to run to merge ancestor’s version, current...

makandra dev

Every time you amend, rebase or reset, git commits get "overwritten". However, git still allows you to checkout those commits...

makandra dev

If you modified git's history and the change was already pushed, you will usually get a ! [rejected] my-branch...

To change the commit message of the latest (unpushed, unmerged) commit, you can use git commit –amend