Best Way to Execute Ruby Scripts via HTTP Requests?

Hi,

I have a client that has many existing Ruby Scripts that interact with data on the File System (i.e. the scripts both create data and report data).

They (the client) want to be able to build a Web Application around these existing scripts in a manner that allows them to reuse the existing scripts but that also gives remote users the ability to invoke the scripts, pass data into them, and get data back from them.

I read the documentation and Rails is touted as being best for "green field" situations that intend to use databases, and this does not fit those traits. CGI / Ruby CGI seems way too limited and seems to have all types of issues.

I'd the community's advice and recommendations on what you believe is best way to handle this?

Your help and advice is greatly appreciated.

My Best,

Frank

I have a client that has many existing Ruby Scripts that interact with data on the File System (i.e. the scripts both create data and report data).

They (the client) want to be able to build a Web Application around these existing scripts in a manner that allows them to reuse the existing scripts but that also gives remote users the ability to invoke the scripts, pass data into them, and get data back from them.

I read the documentation and Rails is touted as being best for "green field" situations that intend to use databases, and this does not fit those traits. CGI / Ruby CGI seems way too limited and seems to have all types of issues.

I'd the community's advice and recommendations on what you believe is best way to handle this?

Your help and advice is greatly appreciated.

Rails will be fine. Use it to build the web front end that submits jobs to the back end.

Start here...

and maybe here:

-philip

Thanks Philip! I didn't know that Rails could be used to execute Job-like processes. This is great info!

I wish the Rails marketing documentation would publicize this info more.

My Best,

Frank