Whenever I run an external command, I'm getting errors about missing require_cmd or CocoaDialog. I've followed some of the tips about looking in $TM_SUPPORT_BUNDLE/bin and such but can't seem to find those commands/scripts.
Is there something broken with my install I can fix?
-jon
On 8/3/2006, at 22:22, Jonathan Prettyman wrote:
Is there something broken with my install I can fix?
Check Preferences -> Advanced -> Shell Variables.
If you have a BASH_ENV here, then it must go!
If not, try to type “env” in a new document and follow that by ctrl- R, this will dump the environment, which should help debug the issue.
Before pasting the result of this, be sure to check it for potential “secret” information (e.g. if you’ve setup MYSQL_PASSWD or similar).
On Mar 8, 2006, at 1:51 PM, Allan Odgaard wrote:
On 8/3/2006, at 22:22, Jonathan Prettyman wrote:
Is there something broken with my install I can fix?
Check Preferences -> Advanced -> Shell Variables.
If you have a BASH_ENV here, then it must go!
So I had that set up to point to my bash_profile. Taking that away makes it so I don't get my PATH set up right (/opt/local/bin...)
It also seems to not make a difference, I still get /bin/bash: line 1: require_cmd: command not found
If not, try to type “env” in a new document and follow that by ctrl- R, this will dump the environment, which should help debug the issue.
Before pasting the result of this, be sure to check it for potential “secret” information (e.g. if you’ve setup MYSQL_PASSWD or similar).
TM_ORGANIZATION_NAME=Socialtext SHELL=/bin/bash TM_LINE_INDEX=3 TM_MODE=Plain Text TM_SCOPE=text.plain USER=jjp TM_COLUMNS=107 TM_SELECTED_TEXT=env __CF_USER_TEXT_ENCODING=0x1F5:0:0 TM_CURRENT_LINE=env PATH=/usr/bin:/bin:/usr/sbin:/sbin TM_COLUMN_NUMBER=4 PWD=/private/var/tmp/folders.501/TemporaryItems TM_SUPPORT_PATH=/Applications/TextMate.app/Contents/SharedSupport/ Support SHLVL=2 HOME=/Users/jjp LC_CTYPE=en_US.UTF-8 TM_CURRENT_WORD=env TM_SOFT_TABS=NO TM_LINE_NUMBER=1 TM_TAB_SIZE=4 _=/usr/bin/env
-jon
On Mar 8, 2006, at 2:21 PM, jon.kellyst@mac.com wrote:
On Mar 8, 2006, at 1:51 PM, Allan Odgaard wrote:
On 8/3/2006, at 22:22, Jonathan Prettyman wrote:
Is there something broken with my install I can fix?
Check Preferences -> Advanced -> Shell Variables.
If you have a BASH_ENV here, then it must go!
It turns out I was was unchecking the BASH_ENV item in the Shell Variables list. Actually DELETING made everything work much better.
Thanks for the help!
-jon
On 8/3/2006, at 23:21, jon.kellyst@mac.com wrote:
Check Preferences -> Advanced -> Shell Variables.
If you have a BASH_ENV here, then it must go!
So I had that set up to point to my bash_profile. Taking that away makes it so I don't get my PATH set up right (/opt/local/bin...)
See http://macromates.com/textmate/manual/shell_commands#search_path
From the environment dump, it is clear that bash_init.sh is still not being executed. TextMate would set BASH_ENV to this file, unless the user has his own setting for BASH_ENV.
Could you verify that the file is on your system, e.g.:
ls -l "$TM_SUPPORT_PATH/lib/bash_init.sh"
Though interestingly the BASH_ENV variable is _NOT_ present in the environment dump you pasted. Could there be something funky going on with your shell?