On Feb 1, 2008, at 1:49 AM, Une Bñ×ue wrote: > I'm working (on Mac OS X) with two installed ruby (apart from Apple > default one): > > $ which ruby > /opt/local/bin/ruby > $ which ruby19 > /opt/local/bin/ruby19 > > (all of the Ruby-1.9.0-0 bins have a "19" suffix) > > when i try a simple script as : > ---------------------------------------------------------------------- > #! /usr/bin/env ruby19 > require "appscript" > include Appscript > > p app('Finder').home.folders.get > ---------------------------------------------------------------------- > > i get the following : > ---------------------------------------------------------------------- > RubyMate r6354 running Ruby r1.9.0 (/opt/local/bin/ruby19) Your question is about TextMate, not Ruby. It's covered in TextMate's anual. See the "Important" paragraph in this section: http://macromates.com/textmate/manual/shell_commands#search_path Hope that helps.