浏览 2254 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-04-10
用RedRails启动Webrick服务器产生问题,控制台的报告如下,请问是什么问题?如何才能解决? => Booting WEBrick... C:/ruby/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 12, col 2: ` socket: /path/to/your/mysql.sock' (ArgumentError) from C:/ruby/lib/ruby/1.8/yaml.rb:133:in `load' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:523:in `database_configuration' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:228:in `initialize_database' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:88:in `process' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:43:in `send' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:43:in `run' from ./script/../config/../config/environment.rb:10 from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' ... 12 levels... from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from ./script/server:3 from -e:4:in `load' from -e:4 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-04-10
照报错信息来看,数据库链接出问题,看一下database config文件。
|
|
返回顶楼 | |