Topic: Compiling Ruby on Ruby on the Rails

Hello,

Am a newbie on Ruby on the Rails, I just successfully wrote a Program in ruby and compile it on Ruby and it worked every fine.

I compile it using ruby take.rb

My question is that i want to convert that same program to be working on a web interface using Ruby on the Rails. Is there a possibility that i can just take that same program take.rb and  compile it in the web interface withput having to just the code. I should just dump the file take.rb in the ruby on the rails environment and it will work

Thanks