Forum: Rails deployment No such file to load -- config/environment

Posted by Mustafin R. (mustafin_r)
on 2010-10-17 18:46
I'm trying to start my Rails 2.3.5 application on Ubuntu 10.10 in
production with
- ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770,
Ruby Enterprise Edition 2010.02
- nginx/0.7.67
- passenger 2.2.15

I receive the following error:
no such file to load -- /root/rails_apps/test/config/environment
(error page on http://178.79.131.147/)

My nginx.conf is:

user  root;
worker_processes  1;
..........
http {
..........
 server {
        listen       80;
        server_name  localhost;
        passenger_enabled on;
........
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.