Help with apache and ruby

I have try for 5 days to configure apache with ruby and i can’t do it.
Plase if someone can help me wiht a preconfigurez apache+ruby
I need only essential files for apache and ruby and when i start apache
to work.
An arhive it will be greate.
Thanks