Installing RSpec TextMate Bundle

For future reference, this is how to install and update the RSpec TextMate Bundle. The bundle can be found in the RSpec Git repository.

To install, open a terminal window and type:

1 $ cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
2 $ git clone git://github.com/dchelimsky/rspec-tmbundle.git RSpec.tmbundle

The output should be something like:

1 remote: Counting objects: 46507, done.
2 remote: Compressing objects: 100% (10783/10783), done.
3 remote: Total 46507 (delta 33212), reused 46206 (delta 33056)
4 Receiving objects: 100% (46507/46507), 5.94 MiB | 882 KiB/s, done.
5 Resolving deltas: 100% (33212/33212), done.

Now, reload your bundles in TextMate from the 'Bundles > Bundle Editor > Reload Bundles' menu.

To update, simply open a terminal window and type:

1 $ cd /Applications/TextMate.app/Contents/SharedSupport/Bundles/RSpec.tmbundle
2 $ git pull