打印

在NetBeans中创建Ruby on Rails项目时,无法新建model的问题

一般不需要,除非你不使用默认端口。
First they ignore you, then they laugh at you, then they fight you, then you win.

TOP

引用:
原帖由 Zer 于 2008-6-25 20:17 发表
上面的报错可好像是database.yml配错了。
development:
  adapter: mysql
  database: RailsWithRuby_development
  username: root
  password:1
  host: 127.0.0.1
这个是配置文件的一部分,那么这个配置文件中是不 ...
password写错了。
  password:1
改成
  password: 1
值前边没有空格是不行地。

TOP

引用:
原帖由 superxielei 于 2008-6-26 17:31 发表 [url=http://bbs.railschina.com
值前边没有空格是不行地。
的确是这样,这个文件格式要求比较严格。
First they ignore you, then they laugh at you, then they fight you, then you win.

TOP