that is not going to do what you think.
first off, the ruby code embedded in the template is parsed on the
server. the results are then sent to the browser/client with the
appropriate headers (html, xml, etc). so your call to 'system' is
being processed on the server, the results of which , if any,
incorporated into the response which is then sent to the browser.