Simon, I don't see why Ruby is involved. I'm editing PHP here, and have not used TM for anything having to do with Ruby.
However, I'll look at your suggestion and see if I can apply that to this problem. Or, am I missing the point that TM is built with Ruby? Thanks, Tom On Nov 7, 2009, at 9:19 AM, Simon Gregory wrote: >> The upgrade method I used for Ruby is the one at: >> >> http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/ > > > I also followed that. > >> When I use CMD-/ to try to insert a comment in my source (or to make >> an existing line into a comment, or to uncomment an existing comment >> line) I get the following message inserted into the source code at >> the >> point of insertion: >> >> env: ruby: No such file or directory > > It works for me. > > The command that does all the work is the 'Comment Line / Selection' > found in the Source.tmbundle. This command finds the interpreter > directly, using #!/usr/bin/env ruby, so it looks like it's the 'env' > command that's not finding ruby. Changing the commands first line to > #!/usr/local/bin/ruby is likely to work. Or you could follow the > suggestions, marked Important: in 8.2 here > http://manual.macromates.com/en/shell_commands > > Hopefully someone else has a better understanding of what may be wrong > because I don't see why ruby isn't getting picked up by env. > > Cheers, > Simon > > _______________________________________________ > textmate-dev mailing list > textmate-dev@lists.macromates.com > http://lists.macromates.com/listinfo/textmate-dev _______________________________________________ textmate-dev mailing list textmate-dev@lists.macromates.com http://lists.macromates.com/listinfo/textmate-dev