textmate-jinja-templates icon indicating copy to clipboard operation
textmate-jinja-templates copied to clipboard

Error Running oascript

Open nightbook opened this issue 11 years ago • 0 comments

Attempting to go through the install on Mavericks Macbook Pro;

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/ozan/textmate-jinja-templates.git "Jinja Templates.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

The osascript portion of the install throws an error, maybe no longer supported;

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

Found a similar issue with someone's Cucumber bundle; http://stackoverflow.com/questions/8930984/error-running-osascript-e-tell-app-textmate-to-reload-bundles

The answer provides another working solution to this last step; If you double-click on the *.tmbundle file, TextMate will ask whether you want to install the Bundle. You no longer have to copy the file into the Library directory.

Cheers

nightbook avatar Nov 28 '13 00:11 nightbook