在Pics#index中的ExecJS :: ProgramError

时间:2016-08-21 18:02:34

标签: ruby-on-rails ruby

我有这个大问题, 当我以localhost:3000访问网址时,我开始在浏览器上收到以下错误:

ExecJS::ProgramError in Pics#index
Showing c:/Sites/insta/app/views/layouts/application.html.haml where line #5 raised:
Rails.root: c:/Sites/insta
Application Trace | Framework Trace | Full Trace
app/views/layouts/application.html.haml:5:in `_app_views_layouts_application_html_haml__850650643_69736920'

application.html.haml

!!! 5
%html
%head
  %title Insta
  = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
  = javascript_include_tag 'application', 'data-turbolinks-track' => true
  = csrf_meta_tags
%body
  -flash.each do |name, msg|
    =content_tag :div, msg, class: "alert alert-info"
= yield

1 个答案:

答案 0 :(得分:0)

如果您使用的是Windows,那么

gem coffee-script-source', '1.8.0'

捆绑更新