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.
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!