[Note: parts of this message were removed to make it a legal post.]
Not too sure what you are trying to do here. The fact that you are invoking
against your local system is a bit weird, and I dont think that is workable.
Might work for locally loaded Javascript, but not in a HREF.
If you are hitting a server, this can be made to work, as CGI (similar to
how
you would invoke against a PHP script), but CGI is not a popular way to
run Ruby web apps, and it is very poorly documented in general (its eclipsed
by all the other methods).
Again, your parameters would have to be appropriate for a query string, you
couldn't
rely on passing them in as command line arguments.
For isntance:
<a href="/scripts/ruby.rb?param1=value1¶m2=value2">Search<a>