From: greg Date: 2007-08-22T08:44:59+09:00 Subject: executing a command from a ruby script Hi All, I want to execute a command from a script e.g. var=`ls -l`, however I don't want to specify the file until I have done some things in the ruby script, so I need something like var=`ls -l $file`. However, this is not working. Could anyone help me out. I would really appreciate it! Thanks, Greg