[TxMt] TextMate and Ruby version

Florian Gilcher flo at andersground.net
Sat Apr 7 09:41:59 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Strange, it works for me.

Nostalgia-For-Infinity:~ skade$ which ruby
/usr/local/bin/ruby
Nostalgia-For-Infinity:~ skade$ ruby -v
ruby 1.8.4 (2005-12-24) [i686-darwin8.6.1]

TM_RUBY = /usr/local/bin/ruby

RubyMate r6354 running Ruby r1.8.4 (/usr/local//bin/ruby)
>>> test.rb

But I do have some other strange behaviour regarding ruby versions,
hinting that there is something wrong with Textmates handling of ruby
versions.

Syntax checking (Ctrl-Shift-V) for example has the output:
using ruby-1.8.2
Syntax OK

Gruß
Florian

Yvon Thoraval wrote:
> Hey all,
> 
> i thought putting :
> 
> TM_RUBY   /opt/local/bin/ruby
> 
> into :
> 
> Preferences > Advanced > Shell Variables
> 
> was ok to run a rb file whith this Ruby
> 
> but i get allways :
> 
> RubyMate r6354 running Ruby r1.8.2 (/usr/bin/ruby)
>   >>> essai.rb
> 
> in the RubyMate Console.
> 
> then, the default Apple's Ruby :(
> 
> i think the env var name "TM_RUBY" is wrong ?
> 
> best,
> 
> Yvon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGF2dj8RlGMqQ8m7oRApI/AJ0SUDoM+DyNXErtPbQ643iIM8lyyQCfSSPK
zVKGyNR8i7vzrQCVAcF2Huo=
=zU38
-----END PGP SIGNATURE-----



More information about the textmate mailing list