TextMate Bundle

canadaduane edited this page Sep 14, 2010 · 4 revisions

Get the bundle with Git

$ cd ~/Library/Application\ Support/TextMate
$ cd Bundles || (mkdir Bundles && cd Bundles)
$ git clone git://github.com/drnic/ruby-doctest-tmbundle.git Ruby\ DocTest.tmbundle

Reload TextMate Bundles

  • Restart TextMate, OR
  • Choose Bundles → Bundle Editor → Reload Bundles from the menu

Enjoy Syntax Highlighting and “Run DocTests” Command

  • Use “command-shift-R” to run doctests in the current file
  • You’ll see syntax highlighting like this: