1.用svn下载源码 svn checkout http://svn.techno-weenie.net/projects/beast 2.修改 database.yml 文件 在这儿用 rake db:migrate 就提示一下错误:  rake aborted! undefined method `first’ for :sessions:Symbol 3.从网上找资料, 找到一个详细的教程: http://www.olddognewtricks.co.uk/2006/09/beast.html 步骤如下: 步骤 1:  svn checkout http://svn.techno-weenie.net/projects/beast/trunk/ 步骤 2: 进入你下载beast 的目录执行: rake freeze_edge 步骤 3:  gem install RedCloth 步骤 4:修改 database.yml 文件 步骤 5:  rake db:schema:load 步骤 6:  ruby script/server 步骤 7:测试  http://localhost:3000/  
评论
humanlou 2008-02-26
#LoggedExceptionsController.view_paths = [File.join(directory, 'views')]
于init.rb
vondon 2007-09-03
为什么我一执行到
D:\rubyword\beast>rake db:schema:load
(in D:/rubyword/beast)
rake aborted!
undefined method `view_paths=' for LoggedExceptionsController:Class

(See full trace by running task with --trace)

就报这个错误。数据库没有创建成功
希望回复。不甚感激
vondon_flq@hotmail.com
发表评论

您还没有登录,请登录后发表评论