Installing the Latest RSpec TextMate Bundle 7

Posted by ben on June 04, 2008

If you are using TextMate on your Apple Mac you may wish to download the RSpec TextMate Bundle and install it. The TextMate bundle can be found in the RSpec Git repository. In your Terminal.app enter the following commands. Please note that you will need Git installed on your Apple Mac in order to do this, please see my article Installing Git on Apple OSX on how to do this:

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

You should get output like this in your Terminal window:

Initialized empty Git repository in /Applications/TextMate.app/Contents/SharedSupport/Bundles/RSpec.tmbundle/.git/
remote: Counting objects: 46199, done.
remote: Compressing objects: 100% (10514/10514), done.
Indexing 46199 objects...
remote: Total 46199 (delta 33049), reused 46199 (delta 33049)
 100% (46199/46199) done
Resolving 33049 deltas...
 100% (33049/33049) done

Now you will need to reload your TextMate Bundle Editor for this new bundle to be applied. In TextMate select the following menu items and button:

  Bundles > Bundle Editor > Reload Bundles

If you ever need to get a more uptodate version of the RSpec.tmbundle then simply navigate to your TextMate Bundle directory and use Git to pull the latest version down to your machine. Don’t forget to reload your bundles once this has been done. To pull the latest version from the Git hub use this command:

git pull

For older instructions on how to do this see Robby on Rails - RSpec Bundle for TextMate

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. [...] Finally if you are an Apple user and are using TextMate you might want to read my article on how to install the TextMate RSpec bundle. [...]

  2. Dave Wed, 30 Jul 2008 18:55:33 PDT

    Thanks — I’d cloned the repo from GitHub, but couldn’t figure out why it wasn’t loading into Textmate… I came across your instructions and noticed that since I hadn’t specified a destination directory I needed to rename the directory (to a .tmbundle extension):

    mv rspec-tmbundle/ RSpec.tmbundle

    Now it gets loaded into Textmate correctly. It makes sense, but it escaped my attention till reading your instructions.

  3. [...] 6. If you use Textmate install RSpec bundle for Textmate: http://blog.emson.co.uk/2008/06/installing-the-latest-rspec-textmate-bundle/ [...]

  4. Jason Green Wed, 24 Sep 2008 07:55:13 PDT

    Thanks!

  5. jpemberthy Mon, 06 Oct 2008 09:40:35 PDT

    Thanks!

  6. Thibaut Barrère Tue, 21 Oct 2008 08:00:46 PDT

    Thanks - that came handy.

  7. Gerry Power Mon, 17 Nov 2008 16:39:52 PST

    The correct location of custom bundles is: ~/Library/Application Support/TextMate/Bundles

    otherwise, when you upgrade TextMate, you will lose your custom bundles!

Comments