Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Get Growled when your long running rake tasks finish
branch: master

This branch is 4 commits behind porras:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Gemfile.lock
HISTORY.md
LICENSE
README.md
Rakefile
rakegrowl.gemspec

README.md

rakegrowl

Do you recognize this situation? You run a rake task (for example, rake spec), which you know it's going to take some time (e.g. 3 or 4 minutes). You say "Great moment to check what's going on on Twitter". 10 minutes and 3 tabs with blog posts later, you realize you were actually waiting for a task to finish, a task which finished long before. Bye, bye, productivity!!

rakegrowl tells you when your rake tasks end via Growl.

Installation

You need to have Growl and growlnotify installed to get the notifications. Anyway, rakegrowl is harmless if there is no Growl.

To install rakegrowl, which is packaged as a gem, you need to run:

gem install rakegrowl

Usage

In order to get your notifications, you have to run rake this way:

$ rake -rubygems -r rakegrowl this:task that:another:task

You can even setup your system so you can run rake as usual and still get your notifications, by adding this into your .bashrc file:

alias rake='rake -rubygems -r rakegrowl'

From now on, whenever you run a rake task, you'll get a notification when it finishes.

Copyright & Licensing

Copyright (c) 2010-2011 Sergio Gil. MIT license, see LICENSE for details.

Something went wrong with that request. Please try again.