我已经开始使用和学习Ruby on Rails的,我想用的sqlite3的的Postgres而是一堆东西后,我经历了安装宝石(我使用红宝石 2.1.2和Rails的 4.1 的Ubuntu 14.04)当我运行Rails的创建我欢迎索引页后,我得到这个错误:RunTimeError:YAML语法错误(未知)
YAML syntax error occurred while parsing /home/charlie/Documents/Projects/@potsuri/config/database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error:(): found character that cannot start any token while scanning for the next token at line 26 column 13
这是我在第26行第13列
database: @potsuri_development
这是从24行到第26行
development:
< <:*默认 数据库:@potsuri_development
我m新使用Postgres所以我不知道如何解决这个“语法错误”。
你能显示所有的database.yml内容吗? – pangpang 2014-09-04 01:33:34