Hi folks,
I'm experiencing some weirdness trying to open _some_ YAML files with TextMate 2. For example when I try to open a Rails database.yml file, I'm prompted thusly:
If I click 'Open', I see this:
and TM2 locks up and I'm forced to restart. I've tried several Google searches and I haven't found any mention of this behaviour. Does anyone have any idea what might be going on?
Carpe viam, Mike
Michael Larocque Chief Cook and Bottle Washer Prolumina Communications Inc. http://prolumina.com/mlarocque/ Twitter: http://twitter.com/mrl
On 29/12/2011, at 04.18, Michael Larocque wrote:
I'm experiencing some weirdness trying to open _some_ YAML files with TextMate 2. For example when I try to open a Rails database.yml file, I'm prompted […] TM2 locks up and I'm forced to restart.
When you pick a grammar for which TM needs to install a bundle, it downloads the bundle in the background and waits for the grammar to appear.
If you have a local version of the bundle with different (default) file type bindings, this will eclipse the one being installed, which can lead to the process stalling, since the grammar never shows up.
Thus I recommend you look if you may have a local YAML bundle and/or try to pick an already installed grammar for the file.
On 2012-01-03, at 2:38 PM, Allan Odgaard wrote:
On 29/12/2011, at 04.18, Michael Larocque wrote:
I'm experiencing some weirdness trying to open _some_ YAML files with TextMate 2. For example when I try to open a Rails database.yml file, I'm prompted […] TM2 locks up and I'm forced to restart.
When you pick a grammar for which TM needs to install a bundle, it downloads the bundle in the background and waits for the grammar to appear.
If you have a local version of the bundle with different (default) file type bindings, this will eclipse the one being installed, which can lead to the process stalling, since the grammar never shows up.
Thus I recommend you look if you may have a local YAML bundle and/or try to pick an already installed grammar for the file.
Thanks Allan. Unchecking and checking the YAML bundle (reinstalling) seems to have cleared up the issue. Perhaps it was a corrupted install.
Carpe viam, Mike
Michael Larocque Chief Cook and Bottle Washer Prolumina Communications Inc. http://prolumina.com/mlarocque/ Twitter: http://twitter.com/mrl