[TxMt] Ruby Version?

jeanpierre at gmail.com jeanpierre at gmail.com
Mon Nov 20 05:07:56 UTC 2006


On 11/19/06, Eric Knapp <eknapp at gmail.com> wrote:
> Hi all,
>
> When I run this in TextMate with the Execute and Update command I get this:
>
>   RUBY_VERSION # => "1.8.2"
>
> But, when I use irb in a terminal window I get this:
>
>   irb(main):001:0> RUBY_VERSION
>   => "1.8.4"
>
> Why aren't they the same? I am reading the Pragmatic TextMate book and it
> shows 1.8.4 inside of TextMate.

perhaps a path issue? try the following:
% /usr/bin/ruby -v
% ruby -v
% which ruby

i suspect the author of the pragmatic textmate book installed a newer
version of ruby on his machine.

cheers,
jean-pierre



More information about the textmate mailing list