I am currently using TM 1.5.7 (1436), and everything is working swimmingly. When I update to the latest "minor update," I end up with the following message when I ask LaTeX to typeset my document:
env: ruby: No such file or directory
Now, I can see from searching around this forum and elsewhere that this is somewhat a common problem. I've seen http://manual.macromates.com/en/shell_commands this and several posts trying to solve this issue. In particular, I am running Leopard, and have not replaced Ruby. Both ruby and env are sitting in /usr/bin, and my path has /usr/bin as the first entry. Furthermore, ~/.MacOSX/environment.plist reads { PATH = "/usr/bin"; }.
At this point, I'm not sure what to do, and would appreciate some help. Fortunately, I was able to roll back to v1436 via Time Machine, and everything is working fine again. But I'd like to be able to use the latest minor update. Any suggestions?
On 12 Feb 2009, at 02:36, Wandering Mango wrote:
[...] env: ruby: No such file or directory
Now, I can see from searching around this forum and elsewhere that this is somewhat a common problem.
Indeed, and we have http://wiki.macromates.com/Troubleshooting/RubyVersionIssue
[...] my path has /usr/bin as the first entry. Furthermore, ~/.MacOSX/environment.plist reads { PATH = "/usr/bin"; }.
That PATH is going to cause other problems. Best t just delete the environment.plist file, as you didn’t delete /usr/bin/ruby, I’d suggest getting your system back to defaults.
Also check TextMate → Preferences → Advanced, see if you set PATH in the Shell Variables (and if so, remove it).
At this point, I'm not sure what to do, and would appreciate some help.
If it continues to fail, run the last test on the Ruby troubleshooting page and send the result here. Also see http://wiki.macromates.com/Troubleshooting/101
I deleted the PATH setting in Shell Variables, and replaced it with the PATH setting in the terminal, and everything started to work. Thank you.
On 11-Feb-09, at 8:36 PM, Allan Odgaard wrote:
On 12 Feb 2009, at 02:36, Wandering Mango wrote:
[...] env: ruby: No such file or directory
Now, I can see from searching around this forum and elsewhere that this is somewhat a common problem.
Indeed, and we have http://wiki.macromates.com/Troubleshooting/RubyVersionIssue
[...] my path has /usr/bin as the first entry. Furthermore, ~/.MacOSX/environment.plist reads { PATH = "/usr/bin"; }.
That PATH is going to cause other problems. Best t just delete the environment.plist file, as you didn’t delete /usr/bin/ruby, I’d suggest getting your system back to defaults.
Also check TextMate → Preferences → Advanced, see if you set PATH in the Shell Variables (and if so, remove it).
At this point, I'm not sure what to do, and would appreciate some help.
If it continues to fail, run the last test on the Ruby troubleshooting page and send the result here. Also see http://wiki.macromates.com/Troubleshooting/101