[TxMt] Screwed up my ruby integration - help!
Jeroen van der Ham
jeroen at je-ju.net
Sun Sep 11 18:47:19 UTC 2005
On 10-09-2005 19:34, Gavin Kistner wrote:
>> But another resolution to the ri problem could be just pointing the
>> TextMate command to /usr/local/bin/ri instead of /usr/bin/ri ;)
>> If ri has been installed together with Ruby in /usr/local, it will
>> most likely use the corresponding Ruby installation.
>
Even better solution which will solve all the problems:
Always use:
#!/usr/bin/env ruby
This will always pick the right ruby according to your path. Even if you
put it in /weird/directory/ruby and put it in your path.
Jeroen.
--
<http://www.je-ju.net/~jeroen/blog/>
More information about the textmate
mailing list