Hi,
I noticed that every time I try to run the command Comment Line/Selection from the source bundle I get the following error:
Failure running “Comment Line / Selection”. Comment Line / Selection:16:in `require': no such file to load -- /lib/escape (LoadError) from Comment Line / Selection:16
Looking at the particular line in the command I find:
require "#{ENV["TM_SUPPORT_PATH"]}/lib/escape"
I assumed TM_SUPPORT_PATH does not exist, so I tried to hunt down lib/escape for TM2. However, a 'locate lib/escape' only gives me one hit, and that is for TM1:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/escape.rb
Looking into /Applications/TextMate2Alpha/TextMate.app/Contents/SharedSupport I indeed do not find a Support folder.
Now I am wondering if I am running into a particular problem with my TM2 installation (already tried downloading it again) or whether Comment Line/Selection can generally not be used with TM2 right now.
Regards,
Carsten
On 10/01/2012, at 18.06, Carsten Hoever wrote:
[…] every time I try to run the command Comment Line/Selection from the source bundle I get the following error: […]
Now I am wondering if I am running into a particular problem with my TM2 installation (already tried downloading it again) or whether Comment Line/Selection can generally not be used with TM2 right now.
Your bundles are likely messed up.
The TM_SUPPORT_PATH comes from the Bundle Support bundle, so you may have uninstalled that.
You can check Preferences → Bundles or remove ~/Library/Application Support/{TextMate,Avian}/ and relaunch to get back to defaults.
On 16 Jan 2012, at 03:40, Allan Odgaard wrote:
On 10/01/2012, at 18.06, Carsten Hoever wrote:
[…] every time I try to run the command Comment Line/Selection from the source bundle I get the following error: […]
Now I am wondering if I am running into a particular problem with my TM2 installation (already tried downloading it again) or whether Comment Line/Selection can generally not be used with TM2 right now.
Your bundles are likely messed up.
The TM_SUPPORT_PATH comes from the Bundle Support bundle, so you may have uninstalled that.
You can check Preferences → Bundles or remove ~/Library/Application Support/{TextMate,Avian}/ and relaunch to get back to defaults.
Yes, my bundles where completely messed up. Issue is solved now.
/Carsten