--- Joel VanderWerf <vjoel / PATH.Berkeley.EDU> wrote: > 
> How can I find the name of the current ruby interpreter? It's not $0, 
> since that's the main ruby script. I want to be able to start another 
> process using the same interpreter, whatever that happens to be.


exec $(which ruby) name_of_script.rb

-- Thomas Adam

=====
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor"                 -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html