TextMate

mkdir -p /Library/Application\ Support/TextMate
cd /Library/Application\ Support/TextMate
export LC_CTYPE=en_US.UTF-8 # assuming you don't have this setup already
# for tcsh instead use: setenv LC_CTYPE en_US.UTF-8
svn co http://macromates.com/svn/Bundles/trunk ./

 

RSpec Bundle

URL : http://rspec.rubyforge.org/tools/extensions/editors/textmate.html

install

  1. cd ~/Library/Application\ Support/TextMate/Bundles/
    svn co svn://rubyforge.org/var/svn/rspec/trunk/RSpec.tmbundle

 

vendor/plugins 디렉토리 하부에서 rspec을 찾는다.

vendor/plugins/extra 디렉토리에 rspec 이 존재한다면,

/Users/jasonpa/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb

파일을 열어서

rspec_rails_plugin = File.join(ENV['TM_PROJECT_DIRECTORY'],'vendor','plugins/extra','rspec','lib')

와 같이 수정해주면됨.

 

RSpec.tmbundle.zip : last run spec 추가하고 위 패치를 적용한 번들


[주의] 최근 TextMate Bundle trunk : http://macromates.com/svn/Bundles/trunk 에서 번들을 내려받으면 Ruby RSpec.tmbundle 이 존재하는데, 이것은 현재 rspec gem 과 궁합이 맞지 않아서 정상적으로 동작하지 않는다. 위에서 처럼 RSpec.tmbundle 을 사용하면 정상적으로 동작함.

 

Subversion Bundle

URL : http://blog.circlesixdesign.com/2007/04/18/textmate-svn-bundle/

install

  1. svn co http://macromates.com/svn/Bundles/trunk/Bundles/Subversion.tmbundle