Search code examples
bashcucumbertextmatetextmatebundlestextmate2

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.


Solution

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