Created
December 16, 2008 13:22
-
-
Save raul/36450 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Quick & Dirty textmate command to execute the current Rails test file | |
# | |
# 1) Open Bundles > Bundle Editor > Edit commands | |
# 2) Select Ruby > Run and press "copy" icon (++) | |
# 3) Rename the new command and select it | |
# 4) Paste this into Command(s) and customize the activation keys | |
cd ../.. | |
#/opt/local/bin/ruby -I=test $TM_FILEPATH | |
export RUBYLIB="$TM_BUNDLE_SUPPORT/RubyMate${RUBYLIB:+:$RUBYLIB}" | |
export RUBYLIB="test:$RUBYLIB" | |
export TM_RUBY=$(type -p "${TM_RUBY:-ruby}") | |
"${TM_RUBY}" -- " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment