How to run korn shell script?

How could I execute a korn shell script using rails?

any help would be great