You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error when I try to run the custom rails configuration script. When it reads the database.yml:
YAML syntax error occurred while parsing /home/vagrant/demo/rails-devise/config/database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (<unknown>): found undefined tag handle while parsing a node at line 22 column 13
The text was updated successfully, but these errors were encountered:
According to me, you have tabs instead of spaces in your database.yml.
This error seems pretty straightforward "Please note that YAML must be consistently indented using spaces. Tabs are not allowed." database.yml file probably contains some tabs.
So make sure that you are using spaces, not tabs also you can validate your YML with a linter like this: yamllint.com
Hope this works for you.
I am getting the following error when I try to run the custom rails configuration script. When it reads the database.yml:
YAML syntax error occurred while parsing /home/vagrant/demo/rails-devise/config/database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (<unknown>): found undefined tag handle while parsing a node at line 22 column 13
The text was updated successfully, but these errors were encountered: