# Errno::ENOENT in User sessionsController#new No such file or directory - getcwd

**URL:** <https://www.ruby-forum.com/t/errno-enoent-in-user-sessionscontroller-new-no-such-file-or-directory-getcwd/190250>\
**Category:** Rails\
**Created:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/errno-enoent-in-user-sessionscontroller-new-no-such-file-or-directory-getcwd/190250 "2010-06-17T16:22:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bpfarmer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/97f17d/32.png) [@bpfarmer](https://www.ruby-forum.com/u/bpfarmer)\
**Post date:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/errno-enoent-in-user-sessionscontroller-new-no-such-file-or-directory-getcwd/190250/1 "2010-06-17T16:22:30Z")

</div>

I cloned an existing git repo and get that error when I try to use  
script/server and view the application on a mongrel server. I can  
still access the models in script/console.

Thanks,

-Brendan

---

<div class="post-metadata">

**Author:** ![bpfarmer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/97f17d/32.png) [@bpfarmer](https://www.ruby-forum.com/u/bpfarmer)\
**Post date:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/errno-enoent-in-user-sessionscontroller-new-no-such-file-or-directory-getcwd/190250/2 "2010-06-17T16:22:46Z")

</div>

On 16 June 2010 23:43, bpfarmer [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I cloned an existing git repo and get that error when I try to use  
> script/server and view the application on a mongrel server. I can  
> still access the models in script/console.

Someone may suggest an answer from this limited data but I think the  
full stack trace might be helpful. Have a look at it yourself first  
and try and see what is wrong. If it gives a line number in  
user\_sessions\_controller where it has failed have a look at the code.

Colin
