So I added the same thing to my Ruby.tmbundle. Install this, save a dodgy Ruby file and you’ll now see something like:
Do you think the following syntax error tooltip is more useful?
Yes it lovely, and the new Ruby.tmbundle will automatically do this if it can find
rbx in your TextMate’s
$PATH. Yeah yeah.
If you have Homebrew installed:
brew install rubinius
Then in TextMate, add your homebrew
bin folder to the $PATH.
- Go to TextMate’s Preferences (Cmd+,)
- Go to “Advanced”, then “Shell Variables”
- Edit the
PATHvariable, and add “:/path/to/homebrew/bin”
For example, if you have homebrew installed in
~/.homebrew then you might add
. My complete
$PATH in TextMate is:
Save a dodgy Ruby file and see the beautifully helpful syntax message.
To install via Git:
mkdir -p ~/Library/Application\ Support/TextMate/Bundles cd ~/Library/Application\ Support/TextMate/Bundles git clone git://github.com/drnic/ruby-tmbundle.git "Ruby.tmbundle" osascript -e 'tell app "TextMate" to reload bundles'
- Trialing RedCar instead of TextMate – replacing my aliases I’m interested to trial RedCar in my life, instead of...
- Packaging TextMate bundles in OS X DMGs Last week Engine Yard released a CLI for their Engine...
- Future proofing your Ruby code. Ruby 1.9.1 is coming. Bugger. I’m a Ruby monogamist. I use the Ruby...
- TextMate easter egg: find bundle commands by key combo I’ve dreamed of the ability to ask TextMate “what frigging...
- My attempt at sake task management I’ve used sake intermittently in my workflow. It competes...