明日から本気出す

ただの備忘録

TextMate2にgroovy bundleを追加

あるgroovyのコード見るために、TextMate2にgroovy bundleを入れてみました。

以下のGitHubのInstallationを参考に実施。

With git installed, you can checkout the bundle from github.

cd into bundle dir and clone the bundle:

cd ~/Library/Application\ Support/TextMate/Bundles/
git clone https://github.com/textmate/groovy.tmbundle.git

Now restart TextMate or tell it to reload bundles.

osascript -e 'tell app "TextMate" to reload bundles'

GitHub - textmate/groovy.tmbundle

が、bundleリロードで以下のエラーが発生

23:37: syntax error: A identifier can’t go after this identifier. (-2740)

んでGoogle先生に聞いたところ、TextMate2だとどうもうまく行かないようです。。

さらに調べて以下のサイトの通りにbundleの配置場所を「~/Library/Application Support/Avian/Bundles」に変えたところうまくいきました(・∀・)

http://stackoverflow.com/questions/8531265/has-anyone-managed-to-use-older-textmate-bundles-with-textmate2

f:id:toruboy:20130223141059p:plain

めでたしめでたし