rails/coffee-rails — Issue #18: ExecJS::RuntimeError in Users#index  ( 'coffee-rails', '~> 3.1.1' and execjs version is 1.2.12' )
Author: cab0620
Created: 2011-12-23 20:50:12+00:00
State: open

Gemfile

gem 'rails', '3.1.1'

group :assets do
gem 'sass-rails', '~> 3.1.4'
gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end

execjs is 1.2.12

============ Error i am getting in console =============

js: "/tmp/execjs20111224-11813-dzulxb.js", line 508: missing } after function body
js: });
js: ..^

(in /home/manoj/Documents/RailsProject/SmartCollege/app/assets/javascripts/course_subjects.js.coffee)):
3:

4:

edge

5:	<%= stylesheet_link_tag "application" %>
6:	<%= javascript_include_tag "application" %>
7:	<%#= csrf_meta_tags %>
8:

9:

================== In Browser ==================

ExecJS::RuntimeError in Users#index

js: "/tmp/execjs20111224-12170-kah3u0.js", line 8: missing name after . operator
js: (function(root){var CoffeeScript=function(){function require(a){return require[a]}require["./helpers"]=new function(){var

.
.
.

js: "/tmp/execjs20111224-12170-kah3u0.js", line 508: missing } after function body
js: });
js: ..^

(in /home/manoj/Documents/RailsProject/SmartCollege/app/assets/javascripts/course_subjects.js.coffee)