« Brendi's Survey | Main | R.I.P. Steve Irwin »

September 3, 2006

TextMate command for Ruby cheat tool

Here's what I use for TextMate to run the cheat tool:

echo "<html><head><title>Cheat Sheet for $word</title></head><body><pre>";
/usr/local/bin/cheat $word;
echo "</pre></body></html>";

Posted by ed at September 3, 2006 10:10 AM


Awesome! Works great.

Posted by: Chris at September 3, 2006 9:05 PM

/bin/bash: line 3: /usr/local/bin/cheat: No such file or directory

In default OS X 10.5.2 installation, please remove the 'local' to function correctly.

/usr/bin/cheat $word;

Posted by: gaw.in at March 15, 2008 7:01 AM

Post a comment

Type the characters you see in the picture above.

Remember Me?