From: Richard Conroy Date: 2010-03-25T01:56:41+09:00 Subject: Re: call a ruby script from html --000325556c92b2c47304828ecf10 Content-Type: text/plain; charset=ISO-8859-1 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: Search On Wed, Mar 24, 2010 at 4:28 PM, Mario Ruiz wrote: > I would like to call a ruby script from a html page passing a few > parameters, something like: > Search > > Anybody knows how to do it? > > Thanks. > -- > Posted via http://www.ruby-forum.com/. > > -- http://richardconroy.blogspot.com --000325556c92b2c47304828ecf10--