On Thu, Oct 20, 2011 at 5:12 PM, Joe Fl <[email protected]> wrote:
> ree-1.8.7-2010.02 :003`> scutil --get ComputerName
> Is the above correct?

No. You do not have backticks:

`scutil --get ComputerName`

More information on how to call bash commands from ruby:

http://stackoverflow.com/questions/2232/calling-bash-commands-from-ruby

Željko

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to