Ruby on rails 4 rails应用程序中database.yml的配置

Ruby on rails 4 rails应用程序中database.yml的配置,ruby-on-rails-4,Ruby On Rails 4,对于开发、测试和生产环境的设置,语法是符合要求的,但当每个环境变量的行对齐方式发生变化时,其给出的错误。为什么?这样一个头脑风暴的游戏是用Ruby在Rails中进行编码的吗 试试看: 默认值:&默认值 适配器:mysql2 编码:utf8 游泳池:5个 用户名:root 密码:“密码” 套接字:/var/run/mysqld/mysqld.sock 发展: 这不是因为ROR,而是 YAML files should end in .yaml whenever possible. YAML i

对于开发、测试和生产环境的设置,语法是符合要求的,但当每个环境变量的行对齐方式发生变化时,其给出的错误。为什么?这样一个头脑风暴的游戏是用Ruby在Rails中进行编码的吗

试试看:



默认值:&默认值
适配器:mysql2
编码:utf8
游泳池:5个
用户名:root
密码:“密码”
套接字:/var/run/mysqld/mysqld.sock

发展:

这不是因为ROR,而是

YAML files should end in .yaml whenever possible.
YAML is case sensitive.
YAML does not allow the use of tabs. Spaces are used instead as tabs are not universally supported.