using web browser to control a ruby program

Dear All
I want to learn ROR. I have 3 years of experience on Ruby program, I
want to use ROR web page to star or stop a ruby program, and modify the
config file of the ruby program. so the user can control the program
using web browser in anywhere he can access the webpage, instead of
logging in the server and then use the command line to control the ruby
program, would there is some example web frame application, would the
scaffolding can do so?
any help would be great appropriated.

Regards
Edward