Useful Tools

There are a number of tools that you may find useful when developing with Merb:

Merb TextMate Bundle

If you’re using TextMate for development, check out Dr. Nic’s Merb TextMate Bundle.

Installation

cd ~/Library/Application Support/TextMate/Bundles/
git clone git://github.com/drnic/merb-tmbundle.git Merb.tmbundle

Haml and Sass syntax highlight for Vim

It may be very helpful for Vim users who prefers merb-haml.

Download

Testing

The ZenTest suite by Ryan Davis includes the excellent ‘autotest’ tool. When your code changes, tests are intelligently run to ensure they pass. This helps you do test driven development in a more efficient manner.

Download

sudo gem install ZenTest

Batch Gem Uninstaller

#!/usr/bin/env sh
gem list | grep "merb[ -_]" | awk '{ print $1 }' | xargs gem uninstall

Save the above script into a file called uninstall_merb_gems and give it executable permissions. Running it will uninstall any gem that begins with merb-, merb_, and the “merb” gem itself.

Edit Page | History | Version: