[TxMt] change default ruby

Yvon Thoraval thoraval.yvon at free.fr
Tue Jan 10 17:43:04 UTC 2006


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20060110/13afa3c8/attachment.html>


More information about the textmate mailing list