Le 10 janv. 06 à 17:30, Jeroen van der Ham a écrit :

Why are the scripts setup in this way? Wouldn't it be more transparent to call "/usr/bin/env ruby" and just follow what the user has configured?



if i launch a simple script as :

------------script.rb
#!/usr/bin/env ruby -w
puts $0
------------end

launched from TextMate :
/Library/Application Support/TextMate/Bundles/Ruby.tmbundle/Support/tmruby.rb

from Terminal :
script.rb

however it is in this directory :
/Users/yvon/work/Ruby/examples

Yvon