[TxMt] setting paths in TextMate

Jacob Glenn jkglenn at umich.edu
Tue Mar 6 22:12:33 UTC 2007


Did you install appscript as a gem? If so you may need to add:

export RUBYOPT=rubygems

to your .bashrc, or .bash-login, or whatever.

Jake

Piero D'Ancona wrote:
> I installed ruby 1.8.5 and appscript on my mac
> (and it is hugely better that the schizolanguage 
> of AppleScript).
>
> Now if I define a command in TextMate like
>
> #!/usr/bin/env ruby
> require "appscript"
> include Appscript
> te = app('TextEdit')
>
> TextMate complains it (he) cannot find
> appscript.rb (no use to give the explicit
> path since then TextMate cannot find the
> files require'd inside appscript, etc etc).
>
> Clearly, I must set new paths,
> but how? and maybe I should also tell
> TextMate to use 1.8.5 instead of 1.8.2
> I'm sure this is easy but have no idea
> how to do it. Any help?
>
> Thanks a lot,
> Piero
>
>
>
> ______________________________________________________________________
> 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