i had to remove the OS-X included broken version of Ruby, and now get this error message when using certain commands like comment out block in textmate :
env: ruby: No such file or directory
so i assume TM is piping the text thru a ruby script to do these operations. so, how do i tell textmate where to look for Ruby?
all systems are go in the shell ::
dc@bb > which ruby /usr/local/bin/ruby
dc@bb > ruby --version ruby 1.8.5 (2006-08-25) [i686-darwin8.6.2]
for now i did a hack to symlink from the apple default location ( usr/bin ) to where i have ruby185 installed, but this doesnt seem optimal:
dc@bb /usr/bin > sudo ln -s /usr/local/bin/ruby ruby
I do have a .bash_login which textmate -should- source to create a shell environment before any scripts are run?
Instead TextMate runs a custom script (named bash_init.sh located
in $TM_SUPPORT_PATH/lib) before executing the actual shell command(s). This custom script contains the following code: <<
thanks for any tips.
/dc ------------------------------------------- David "DC" Collier mailto:dc@pikkle.com +81 (0)80 6521 9559 skype: callto://d3ntaku ------------------------------------------- Pikkle 株式会社 http://www.pikkle.com -------------------------------------------
First describes how to tell what it is using, etc. The second is the fix.
http://macromates.com/wiki/Main/FAQ#commandnotfound
http://macromates.com/textmate/manual/shell_commands#search_path