terminaleditorosx-maverickssublimetextsublimetext3

Sublime Text no longer launches from terminal


After upgrading ST3 to build 3065 I'm no longer able to launch it via the terminal:

[11:53:31] ❯ /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl .
Unable to launch Sublime Text

I've shown the absolute path just so nobody thinks it's a symlink issue.

The previous version of ST3 (build 3059, IIRC) did not have this issue.

subl -h works as expected and prints the help properly. Really, all the cli flags work except opening files. Explicitly providing a single file argument gives the same result.


Solution

  • Removing the following did the trick (not sure if it was specifically one of these, so listing all):

    ~/Library/Caches/com.sublimetext.3

    ~/Library/Preferences/com.sublimetext.3.plist

    And then restarting ST3. Why they maintained a link to the old app, I cannot say.

    Thanks to @Paul R. for helping to point me in the right direction.