Hello all,
I get this error when I select php code and type apple(command) + ' / ' (forwardslash)
interpreter failed: No such file or directory
Any suggestions as to why? I tried doing a google search for similar issues. this post came up:
http://lists.macromates.com/textmate/2007-October/022878.html
but my ruby bundle commands are working. just not my php commands.
Best, Victor
On Jul 26, 2010, at 3:15 AM, Victor Powell wrote:
Hello all,
I get this error when I select php code and type apple(command) + ' / ' (forwardslash)
interpreter failed: No such file or directory
try setting PATH variable in TM prefs (Advanced/ Shell Variables). I have there value like this:
/Users/dmilith/.rvm/rubies/ree-1.8.7-2010.01/bin:/Users/dmilith/.rvm/gems/ree-1.8.7-2010.01/bin:/Users/dmilith/.rvm/gems/ree-1.8.7-2010.01@global/bin:/Users/dmilith/.rvm/bin:/opt/local/bin:/Users/dmilith/.gem/ruby/1.8/bin:sw/bin/:/sw/sbin:/Users/dmilith/Bin:/Users/dmilith/Src/maglev/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/local/texlive/2008basic/bin/universal-darwin:/opt/local/bin:/usr/local/bin:/usr/bin:/sw/bin:/Library/PostgreSQL8/bin:/Users/dmilith/Bin/play:/Users/dmilith/Bin/nginx/sbin
You also can try with TM_PHP (equivalent of similar TM_RUBY variable?)
regards
thanks but this still haven't been fixed. i tried adding all of that (replacing dmilith with my user name ).
any other suggestions?
-Vic
On Mon, Jul 26, 2010 at 4:25 AM, Daniel Dettlaff dmilith@verknowsys.comwrote:
On Jul 26, 2010, at 3:15 AM, Victor Powell wrote:
Hello all,
I get this error when I select php code and type apple(command) + ' / '
(forwardslash)
interpreter failed: No such file or directory
try setting PATH variable in TM prefs (Advanced/ Shell Variables). I have there value like this:
/Users/dmilith/.rvm/rubies/ree-1.8.7-2010.01/bin:/Users/dmilith/.rvm/gems/ree-1.8.7-2010.01/bin:/Users/dmilith/.rvm/gems/ree-1.8.7-2010.01@global /bin:/Users/dmilith/.rvm/bin:/opt/local/bin:/Users/dmilith/.gem/ruby/1.8/bin:sw/bin/:/sw/sbin:/Users/dmilith/Bin:/Users/dmilith/Src/maglev/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/local/texlive/2008basic/bin/universal-darwin:/opt/local/bin:/usr/local/bin:/usr/bin:/sw/bin:/Library/PostgreSQL8/bin:/Users/dmilith/Bin/play:/Users/dmilith/Bin/nginx/sbin
You also can try with TM_PHP (equivalent of similar TM_RUBY variable?)
regards
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 27 Jul 2010, at 22:34, Victor Powell wrote:
thanks but this still haven't been fixed. i tried adding all of that (replacing dmilith with my user name ).
I would remove that suggested PATH again, it seems to include all sorts of things which should not be necessary for standard TextMate commands.
any other suggestions?
Restore /usr/bin/ruby, which I assume you deleted. The error basically is that ‘ruby’ is not found.