I just upgraded from Rails 3.2.10 to 3.2.11 and made no other changes to my application.
Suddenly my site doesnβt load - and gives me an error message:
ExecJS::RuntimeError in Static_pages
Does anyone know why changes in Rails 3.2.11 can cause this problem?
ExecJS::RuntimeError in Static_pages#home Showing C:/Sites/av_reports/app/views/layouts/application.html.erb where line #11 raised: (in C:/Sites/av_reports/app/assets/javascripts/password_resets.js.coffee) Extracted source (around line #11): 8: <meta name="author" content=""> 9: 10: <%= stylesheet_link_tag "application", :media => "all" %> 11: <%= javascript_include_tag "application" %> 12: <%= csrf_meta_tags %> 13: <%= render 'layouts/shim' %> 14: </head>
The file My / app / assets / javascripts / password_resets.js.coffee contains 3 lines of text with comments, so I assume this is not a problem.
Are there gem-specific changes or something like this - which might cause the problem?
Edit
My application.js file reads:
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. // // It not advisable to add code directly here, but if you do, it'll appear at the bottom of the // the compiled file. // // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT TO BE PROCESSED, ANY BLANK LINE SHOULD // GO AFTER THE REQUIRES BELOW. // //= require jquery //= require jquery_ujs //= require bootstrap //= require_tree .
source share