Posts [ 5 ]

Topic: Phussion Passenger could not see config/environment.rb

System:Ubuntu 10.04 LTSApache2.2Rails 2.1Ruby 1.86Passenger

Once I run my site, I get Error 500 in my logs and this is what I found, *** Exception Errno::ENOENT in spawn manager (No such file or directory - config/environment.rb) (process 25017):Followed by lots of extra lines...

Does anyone knew or have encountered this problem before, any help is appreciated. Thanks

Re: Phussion Passenger could not see config/environment.rb

Thanks for the reply. I was really thinking that apache configuration has something to do with it but I can't figure out the cause.I have my structure like this, rails application was stored inside /usr/folder_name and I have linked the public folder to /var/www/folder_nameAll files have 755 privileges with root as the owner except for log files which has write privileges.

Before my RailsBaseURI was pointing to /var/www/folder_name but instead of showing the site, it shows the directory structure inside public folder. So I decided to play with that line, Upon changing it to / only, the error shows up.