On 11/19/06, Eric Knapp eknapp@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