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

Nicolas Garnil picture Nicolas Garnil · Jan 19, 2012 · Viewed 9.5k times · Source

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.

Answer

Ken Joyner picture Ken Joyner · Apr 4, 2013

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.