因此,当我尝试在 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 盒子上运行它。有任何想法吗?