我将通过Michael Hartl的导轨教程第10章第10.2节。我的rails应用程序现在显示我尝试在本地主机上加载的所有页面的空白页面。我已经尝试按照另一篇文章的建议重置计算机,但这没有用。我检查了开发日志,这是错误消息。
Started GET "/users/3" for 95.10.6.124 at 2017-11-05 16:36:43 +0000
Cannot render console from 95.10.6.124! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by UsersController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
Rendering users/show.html.erb within layouts/application
Rendered users/show.html.erb within layouts/application (1.7ms)
Rendered layouts/_rails_default.html.erb (27.1ms)
Rendered layouts/_shim.html.erb (0.5ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header.html.erb (2.3ms)
Rendered layouts/_footer.html.erb (0.5ms)
Completed 200 OK in 41ms (Views: 38.0ms | ActiveRecord: 0.4ms)
这很奇怪,因为我解除了我所做的更改,现在它不起作用。事实上,发球似乎并没有开始。而不是看到通常" ctrl + c停止"最后,出现命令提示符。这种情况在我之前没有发生过,而且我没有做过任何不同的事情。
有人可以帮我解决这个问题,谢谢。