Executig a script from a page

HEy,
How would you go around putting a link on the rails page to execute a
ruby script that isn’t in the rails app folder on my development box?
Any suggestions?

Use ActiveMessaging?

well why you want to do that…there is always a rails script
equivalent to ruby…use tht…though i m not 100% sure

Dhaval P. wrote:

well why you want to do that…there is always a rails script
equivalent to ruby…use tht…though i m not 100% sure

I have a custom script that does some things on the server and I just
want to be able to kick it off from rails website.

Here is an example:
Imagine three components database, rails app and ruby script. Both rails
and ruby script have connection to the same database and interact with
it. Now user can only have access to the web app, but can kick off that
script. If it was a simple script I could have include it with rails
app, but it more like entire framework and I think it could too messy

On 2 Nov 2007, at 16:19, Michal S. wrote:

rails
and ruby script have connection to the same database and interact with
it. Now user can only have access to the web app, but can kick off
that
script. If it was a simple script I could have include it with rails
app, but it more like entire framework and I think it could too messy

Well at a basic level you can just fork/exec the other script.

Fred.