Rake-completion script that handles namespaces

Thanks to Nicholas Seckar for the rake-completion script.

It’s real time saver. But now that rake 0.7.0 has arrived it’s introduced namespaces which are very handy.

When I recently capped our latest app I added some custom recipes to the remote: namespace and added a couple of new namespaces as well.

Namespaces however broke rake-completion and I was getting a bit annoyed at that so I looked into it and here you have a version of rake-completion.rb which correctly handles rake namespaces.

Enjoy….

[Update] Lee Marlow has produced a new and improved version of this which is recommended over this.

1 comments on “Rake-completion script that handles namespaces”

  1. Lee

    I made some changes that allow multiple namespaces and multiple tasks

Leave your comment