ForceDotBundle icon indicating copy to clipboard operation
ForceDotBundle copied to clipboard

Issues with Paths in Commands

Open pfeilbr opened this issue 13 years ago • 6 comments

All the hard coded references to ~/Library/Application\ Support/TextMate/Bundles/ForceDotBundle.tmbundle in the various commands don't work for me. When you install a bundle in TextMate it puts it in ~/Library/Application Support/TextMate/Pristine Copy/Bundles (http://j.mp/vdQsuB). For example ForceDotBundle gets put in ~/Library/Application Support/TextMate/Pristine Copy/Bundles/ForceDotBundle.tmbundle. The only time ~/Library/Application\ Support/TextMate/Bundles/ForceDotBundle.tmbundle gets created is if you make a change to the bundle in the TextMate bundle editor, and only the differences are stored there. The $TM_BUNDLE_SUPPORT environment variable should be used (http://j.mp/skTHh1).

Thanks for creating this. Very helpful.

pfeilbr avatar Nov 22 '11 03:11 pfeilbr

Most welcome! Interesting - so is it the Keychain access, SOQL callout, etc., that fails?

Did you run the move_tools.sh or move_tools.command? That should create the path to TextMate/Bundles/etc/ to hold the support shell and php scripts, even if the rest of the bundle goes into Pristine. I did just earlier today put in a fix since those the mkdir references were off. I'll look at using the env vars from end to end though.

joshbirk avatar Nov 22 '11 03:11 joshbirk

Should be noted though, that tonight I'm trying to get an update in to get around some of the keychains bugs as well - plus a downloadable zip with a better installer.

joshbirk avatar Nov 22 '11 03:11 joshbirk

Yes, Keychain access, and SOQL callout failed. I installed by cloning, then double-clicking on move_tools.command in Finder. After that finished I was only left with ~/Library/Application Support/TextMate/Pristine Copy/Bundles/ForceDotBundle.tmbundle, and nothing in ~/Library/Application\ Support/TextMate/Bundles/ForceDotBundle.tmbundle.

I see the new zip has been posted. I'll give that a try.

Thanks for the prompt reply!

pfeilbr avatar Nov 22 '11 14:11 pfeilbr

There was a directory name mismatch with move_tools yesterday which should be fixed now, hopefully the new zip will work correctly. Let me know if not and I'll see about a new script.

joshbirk avatar Nov 22 '11 16:11 joshbirk

And that zip had a typo in the installer it looks like :/ New upload.

joshbirk avatar Nov 23 '11 03:11 joshbirk

OK, next build will remove the Tools directory, replace it with the correct Support directory and possible eliminate the need of the install script completely.

joshbirk avatar Dec 02 '11 00:12 joshbirk