[TxMt] [Ruby--PATH] no such file to load -- ubygems

Scott Walter sw-ng at scottwalter.com
Sat Dec 2 00:55:37 UTC 2006


I've had the problem before.  But when I restarted TextMate the  
problem went away.  very weird.

scott.
On Dec 1, 2006, at 6:26 AM, Une Bévue wrote:

> Hey all,
>
> I've carefully read the TextMate manual 8.2 search PATH
>
> actually my ~/.profile, ~/.MacOS/environment.plist have the same  
> value than the shell i'm using (zsh).
>
> in fact i've writen two ruby scripts to update these files  
> according to zsh setup.
>
> then, my PATH hits first /opt/local/bin where is theMacPort Ruby.
>
> when i use a ruby file with the following shebang :
>
> #! /usr/bin/env ruby -wx
>
> from TextMate i get :
>
> /usr/bin/ruby: No such file to load -- ubygems (LoadError)
>
> from terminal :
>
> $ ./myscript.rb
>
> it works as expected.
>
> I think i've miss something to set env vars for TextMate...
>
>
> but what ???
>
> Yvon
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list