Using a cgi perl program?

I have a cgi/perl program that I want to use on the same server as my RoR app and I keep getting:

The page you were looking for doesn't exist.

You may have mistyped the address or the page may have moved.

I load the program to the cgi-bin directory in its own folder /cgi-bin/ fump/

In the /public folder of my app I have the following .htaccess file:

# General Apache options AddHandler fastcgi-script .fcgi AddHandler cgi-script .pl .cgi Options +FollowSymLinks +ExecCGI

# If you don't want Rails to look in certain directories, # use the following rewrite rules so that Apache won't rewrite certain requests

I got it to see the files but it is saying:

Application error Rails application failed to start properly

Any help?

This is not a Rails App. It is a separate application from my RoR app.