Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I'm trying to install Cucumber bundle for TextMate2. I followed the following instructions from the official page https://github.com/cucumber/cucumber-tmbundle:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles/ cd ~/Library/Application\ Support/TextMate/Bundles git clone git://github.com/cucumber/cucumber-tmbundle.git Cucumber.tmbundle osascript -e 'tell app "TextMate" to reload bundles' 

After running line 4: osascript -e 'tell app "TextMate" to reload bundles', I receive the following error:

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

Any help will be appreciated.

like image 358
Nicolas Garnil Avatar asked Jan 19 '12 17:01

Nicolas Garnil


2 Answers

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.

like image 129
Ken Joyner Avatar answered Oct 05 '22 13:10

Ken Joyner


It's not pretty, but I found that manually nuking everything in ~/Library/Application Support/TextMate/Cache and restarting TextMate forces all the bundles to reload. Yuck.

like image 45
f1nch3r Avatar answered Oct 05 '22 13:10

f1nch3r