运行第一个Rails程序时,报出如下错误:
Showing c:/Users/Doesha/desktop/pinplug/app/views/layouts/application.html.erb where line #6 raised:
TypeError: Object doesn't support this property or method
(in c:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee)
解决方案:
在 /app/views/layouts/application.html.erb文件的第5行或第6行将application修改成default.不过只适用于Windows系统(果然到处是坑啊)
当运行首个Rails程序时遇到TypeError错误,提示Object doesn't support this property or method。此问题出现在c:/Users/Doesha/desktop/pinplug/app/views/layouts/application.html.erb文件的第6行。解决方法是在第5或第6行将application替换为default,但该解决方案仅适用于Windows系统。
8236

被折叠的 条评论
为什么被折叠?



