No such file found

I’m trying to set up my app on Linux SUSE, apache2 using fastcgi. Now
at http://host/ I’m able to see the greeting page (index.html in
public). However, if I try to access my app http://host/candidate/index
I keep getting in the log:

No such file to load –
/usr/home/nye/hire/public/…/config/…/app/controller/test_controller.rb

Did I set my path wrong? What’s this
/usr/home/nye/hire/public/…/config/…/app/controllers/test_controller.r
b

My test_controller.rb sits in /usr/home/nye/hire/app/controllers but why
is it looking in
/usr/home/nye/hire/public/…/config/…/app/controller/test_controller.rb

Did I set my directory wrong in http.conf?

In http.conf, I set

DocumentRoot /usr/home/nye/hire/public

And

<Directory /usr/home/nye/>

Options FollowSymLinks

allowOverride all

Order allow, deny

Allow from all

I have a feeling that I set the above wrong… Help!

Thanks!!!

Nina Ye
Sr. Software Engineer
SUCCESSFACTORS
Tel: 650-645-2062
Fax: 650-645-2377

It turned out to be that I didn’t give read rights to my application
files. After chmod, it’s working now.

Nina Ye wrote:

I’m trying to set up my app on Linux SUSE, apache2 using fastcgi. Now
at http://host/ I’m able to see the greeting page (index.html in
public). However, if I try to access my app http://host/candidate/index
I keep getting in the log:

No such file to load –
/usr/home/nye/hire/public/…/config/…/app/controller/test_controller.rb

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs