Topic: Ruby and cgi scripts


I have a question.

I have a ruby on rails application and a friend of mine has written a cgi perl script for me.

Where do I put the perl script in the file system and how do I call it from the ruby application ?

Thank you in advance for your help

Re: Ruby and cgi scripts

You could "shell out" and call it one of three ways:
1) using backticks "`" around the perl command


2) using system()


3) using %x{}


Re: Ruby and cgi scripts

ya its right  u can use replicant44 idea.
i have created one of my web application ,with RailsTeam excels in building innovative web applications using Ruby on rails.