Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby Bundle for TextMate
Ruby Emacs Lisp VimL
branch: master

This branch is 33 commits behind phuibonhoa:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Commands
DragCommands
Macros
Preferences
Snippets
Support
Syntaxes
Tests
.gitignore
README.markdown
info.plist

README.markdown

Ruby TextMate Bundle

Description

Changes

  • Updated to allow running of shoulda tests
  • Fixed links of broken tests so they properly link to each line of failing test's backtrace
  • Cleaned up output of running tests
  • Updated toggle quotes command to use ! as the delimiter instead of {} since {} is used by ruby interpolation
  • Lots of new snippets and commands:
    • ⌃⇧+/ Toggle try or not (ie cow.moo <-> cow.try(:moo))
    • ⌃+H Replaces escaped characters in plain text files (sometimes ruby outputs \n \" etc)
    • Clean up and addition of lots of new snippets

Installation

  1. $ cd ~/Library/Application\ Support/TextMate/Bundles/
  2. $ git clone git://github.com/phuibonhoa/ruby-tmbundle.git Ruby.tmbundle
  3. $ osascript -e 'tell app "TextMate" to reload bundles'

If you'd like to install all my bundles, check out this script written by mkdynamic. It installs all bundles and backups any existing bundles with conflicting names. Thanks Mark!

Using Spork with focus tests:

  • gem install spork --pre (requires spork-0.9.rc9)
  • open TextMate preferences and set environment variable SPORK_TESTUNIT=true
  • initialize your app for spork (see spork README)
  • open a terminal window, cd to the root of your rails app and run spork command.
  • focus tests will be run through spork.

My Other Textmate Bundles

My bundles work best when use in conjunction with my other bundles:

Credits

BookRenter.com Logo

Additions by Philippe Huibonhoa and funded by BookRenter.com.

Original bundle can be found here

Something went wrong with that request. Please try again.