Welcome Guest | Login

no such file to load -- fcgi (MissingSourceFile)

I am trying to deploy my first rails app to test deployment.  I had issues with my app so I decided to actually create a test app on the server itself, but still no luck.

I created a test app with "rails reachtest" command.  Then, I created a simple table and using scaffold created views for the table.

Then, I followed instructions on the deployment tutorial to test the app.  Here is what I did"
- modified environment.rb and database.yml files
- modified .htaccess
- modified routes.rb
- created symbolic link.

I get "Rails application failed to start properly".  I checked ErrorLog using control panel and found:

mod_fcgid: process /home/yegayaz/public_html/dispatch.fcgi(23893) exit(communication error), terminated by calling exit(), return code: 1

Then, based on other forum responses I tried:

/usr/local/bin/ruby dispatch.fcgi

I got:
no such file to load -- fcgi (MissingSourceFile)
.....
from dispatch.fcgi:22

I do not know how to proceed.  Do I need to install fcgi gem?

Thanks.

2008-03-10 03:43 PM

I could see that you're using rails version 1.2.3 which was not installed on the server. I've installed it now. Please try again.

2008-03-10 03:59 PM

Thanks Santhi.  It is working now.

2008-03-10 04:04 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.