【发布时间】:2010-07-05 22:45:16
【问题描述】:
因此,当我尝试在 rails 中调出 rhtml 页面时,我收到了 500 服务器错误。当我启动 WEBrick 服务器时,我会欢迎来到 rails 主页。该应用程序的名称是你好。我从命令行生成了控制器,它看起来像
class HelloController < ApplicationController
def there
end
end
我在views/hello/there.rhtml 中有我的视图(there.rhtml)。但是 http://localhost:3000/hello/there 得到 500 服务器错误。我目前正在一个 vista 盒子上运行它。有什么想法吗?
【问题讨论】:
标签: ruby-on-rails webrick