只需运行一个“生成脚手架用户...”命令。然后我去localhost:3000/users/看看: ExecJS::RuntimeError in Users#indexShowing C:/Users/TheOnlyUser/Desktop/NMS/nms2/app/views/layouts/application.html.erb where line #6 raised: (in C:/Users/TheOnlyUser/Desktop/NMS/nms2/app/assets/javascripts/ads.js.coffee)Extracted source (around line #6):3: <head>4: <title>Nms2</title>5: <%= stylesheet_link_tag "application", :media => "all" %>6: <%= javascript_include_tag "application" %>7: <%= csrf_meta_tags %>8: </head>9: <body>Rails.root: C:/Users/TheOnlyUser/Desktop/NMS/nms2Application Trace | Framework Trace | Full Traceapp/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___753556572_43068540'app/controllers/users_controller.rb:7:in `index'...这到底是什么意思?更新:在Windows 8上。Windows 7不会出现这些错误。
- 3 回答
- 0 关注
- 555 浏览
添加回答
举报
0/150
提交
取消