mercredi 17 août 2016

Rails Index Directory

I've recently setup a new Rails environment with MySQL but when I run the application the preview just shows up with the app directory. I've tried editing my database.yml file to work with MySQL but but can't get it to work.

These are my database.yml default settings:

default: &default
adapter: mysql2
encoding: utf8
pool: 5
username: <%=ENV['darraghsan']%>
host: <%=ENV['IP']%>
password:
socket: /var/run/mysqld/mysqld.sock

I've added a screenshot of what I see when I run my app,

Any help is appreciated.

Aucun commentaire:

Enregistrer un commentaire