Topic: is it possible to run existing cgi apps with rails?

I havent tried this yet (been struggling to installs ruby and rails on my server), but I wanted to double check that it is possible to run some of my existing cgi apps while running rails.

The reason i ask is that from my knowledge of rails thus far, the url maps to the controller, in which case, i am wondering if there is a special way of handling files located under cgi-bin?