我试图预编译资产,但我得到了一个错误,我查了一下,它说要更改我的 database.yml 文件。美好的。现在我得到了这个:
$ bin/rake assets:clean
rake aborted!
(<unknown>): found character that cannot start any token while scanning for the next token at line 9 column 1
-- etc --
数据库.yml
default: &default
adapter: postgresql
encoding: unicode
pool: 5
username: username
password:
development:
<<: *default
database: db/username_dev
test: &test
<<: *default
database: db/username_test