[TxMt] Re: "no such file to load" error on require in Ruby Run command

Alex Ross tm-alex at rosiba.com
Wed Feb 11 17:40:34 UTC 2009


On Feb 11, 2009, at 9:35 AM, David Carter wrote:

> Okay - I've found a difference between TM environment & command line:
>
> The TM execution window shows "ruby 1.8.6 (2008-03-03 patchlevel  
> 114) [universal-darwin9.0]"
>
> From terminal: "ruby 1.8.6 (2007-09-24 patchlevel 111) [i686- 
> darwin9.2.0]"
>
> Suggestions on where to look to resolve the different versions of  
> ruby that are being picked up?

In Terminal, do “which ruby” and copy that path.  Go to TextMate's  
shell vars in preferences and set TM_RUBY=«path to shell ruby». Do you  
still have the error?

—Alex




More information about the textmate mailing list