# No such file to load -- config/environment

**URL:** <https://www.ruby-forum.com/t/no-such-file-to-load-config-environment/197628>\
**Category:** Deployment\
**Created:** [October 17, 2010, 6:46pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-config-environment/197628 "2010-10-17T18:46:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [October 17, 2010, 6:46pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-config-environment/197628/1 "2010-10-17T18:46:59Z")

</div>

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/](http://178.79.131.147/))

My nginx.conf is:

user root;  
worker\_processes 1;  
…  
http {  
…  
server {  
listen 80;  
server\_name localhost;  
passenger\_enabled on;  
…
