TextMate Bundles location on Mountain Lion
Something that I’ve noticed when trying to install various different bundles is that the installation instructions which worked flawlessly on Snow Leopard don’t seem to do the job on Mountain Lion.
For example, the Clojure bundle assumes that the installation directory is '~/Library/Application\ Support/TextMate/Bundles' but for some reason the 'Bundles' folder doesn’t exist.
We therefore have two choices:
-
mkdir -p ~/Library/Application\ Support/TextMate/Bundles and then continue as normal
-
Install our bundle into '/Applications/TextMate.app/Contents/SharedSupport/Bundles' as suggested on this thread.</p>
So for the Clojure bundle we’d do this instead:
$ cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
$ git clone git://github.com/swannodette/textmate-clojure.git Clojure.tmbundle
$ osascript -e 'tell app "TextMate" to reload bundles'
And similarly for the Haskell one:
$ cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
$ git clone https://github.com/textmate/haskell.tmbundle.git haskell.tmbundle
$ osascript -e 'tell app "TextMate" to reload bundles'
Thinking about it now I’m wondering whether I did actually create the 'Bundles' folder in '~/Library/Application\ Support/TextMate/' on my old machine and I just can’t remember doing so!
About the author
I'm currently working on short form content at ClickHouse. I publish short 5 minute videos showing how to solve data problems on YouTube @LearnDataWithMark. I previously worked on graph analytics at Neo4j, where I also co-authored the O'Reilly Graph Algorithms Book with Amy Hodler.