运行第一个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系统(果然到处是坑啊)