A snippet with this content: `/usr/bin/env ruby -v`
Tells me that it is using /opt/local/bin/ruby (1.8.6)
Yet a command with this content: #!/usr/bin/evn ruby puts RUBY_VERSION
Tells me that it is using /usr/bin/ruby (1.8.2)
And yet if I use the she-bang outside of textmate, the correct 1.8.6 version is used:
$ echo '#!/usr/bin/env ruby' > ruby_test $ echo 'puts RUBY_VERSION' >> ruby_test $ chmod +x ruby_test $ ./ruby_test 1.8.6 $
Any anyone tell me how to fix this? I wish to use 1.8.6 for everything. I've read that environment.plist might be part of the solution but I can't find such a file. If I need to create a new one, I don't know what to put in it.
Many thanks