GitXplorerGitXplorer
d

ruby-tmbundle

public
160 stars
48 forks
8 issues

Commits

List of commits on branch master.
Unverified
686d46d86deefafaa4077346f829ad335216ec94

Merge pull request #16 from tinogomes/patch-1

ddrnic committed 12 years ago
Unverified
d57c91713c6211f443cf5033dec8c6c05d7fe2fd

Highlight for symbol on Ruby 1.9

ttinogomes committed 12 years ago
Unverified
2b1c2c1d3619f5c7e3b93a2fcc6d4b4dfca32391

Merge pull request #14 from ebeigarts/rspec-warnings

rradar committed 13 years ago
Unverified
613f09c157a8995d215d3378008807bc10868654

Filter out annoying warnings in RSpec

eebeigarts committed 13 years ago
Unverified
1b3a8382d39d7c22fe14cabd4389a7317888ac48

Merge pull request #13 from tinogomes/master

rradar committed 13 years ago
Unverified
86732614de768c35619f0ff785ca841d1a1ff3b3

Little adjust on Ruby language for annotations words (private, public, and protected) and more snippets: (def initialize, def self.method_missing, String multilines, encoding, private, protected, and public)

ttinogomes committed 13 years ago

README

The README file for this repository.

Ruby TextMate bundle

The TextMate bundle that first appeared in the famous "Rails 15 minute video." This is it, many years later.

Installation

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'

Source can be viewed or forked via GitHub: http://github.com/drnic/ruby-tmbundle

Validate and Save

When you save a Ruby file, it will first validate the syntax and print any validation error as a tooltip.

Validate and Save - No Rubinius

You can get more detailed syntax error information if you have Rubinius installed (and rbx in TextMate's $PATH).

Validate and Save - Rubinius installed

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 PATH variable, and add ":/path/to/homebrew/bin"

For example, if you have homebrew installed in ~/.homebrew then you might add :/Users/drnic/.homebrew/bin

Save a dodgy Ruby file and see the beautifully helpful syntax message.