# CircleCI is showing "Index of file:///home/ubuntu/..."

**URL:** <https://discuss.circleci.com/t/circleci-is-showing-index-of-file-home-ubuntu/7348>\
**Category:** Build Environment\
**Tags:** rails, ruby, capybara\
**Created:** [October 12, 2016, 3:02am UTC](https://discuss.circleci.com/t/circleci-is-showing-index-of-file-home-ubuntu/7348 "2016-10-12T03:02:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![easybills-admin](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/easybills-admin/32/14376_2.png) [@easybills-admin](https://discuss.circleci.com/u/easybills-admin)\
**Post date:** [October 12, 2016, 3:02am UTC](https://discuss.circleci.com/t/circleci-is-showing-index-of-file-home-ubuntu/7348/1 "2016-10-12T03:02:31Z")

</div>

Hi there,

My build is failing intermittently. I’m using:

- **Ruby** v2.3.1
- **Rails** v5.0.0.1
- **PostgreSQL** v9.5.4
- **gem “rspec-rails”** v3.5.2
- **gem “capybara”** v2.10.1

The error I’m getting is:

```
Capybara::ElementNotFound: Unable to find field :user_email

```

As mentioned before, it passes sometimes, it’s intermittent.  
Also, all tests pass 100% of the times when I run it locally.

In order to find out what was happening, I added a code to the test to print the `page.body` (method from **Capybara** ). This is what the HTML looks like:

 ![](https://global.discourse-cdn.com/circleci/original/3X/b/6/b6ee272f4f045cbc46e84ae92eed287c9343bbed.png)

It looks like some issue in CircleCI. Does anyone know how to get it working?

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:38am UTC](https://discuss.circleci.com/t/circleci-is-showing-index-of-file-home-ubuntu/7348/2 "2018-06-18T11:38:47Z")

</div>

Closed on June 18, 2018, 11:38am UTC


