Note that there are some explanatory texts on larger screens.

plurals
  1. POError when running rails app - ExecJS::RuntimeError
    primarykey
    data
    text
    <p>I tried googling this and I haven't found an answer yet to my problem.</p> <p>I am trying to run a simple controller script through rails and it is giving me this error when I reach the page.</p> <pre><code>ExecJS::RuntimeError in Say#hello </code></pre> <p>Obviously Say is the controller and hello is the method. Further down the page I get more info about the error.</p> <pre><code>dyld: unknown required load command 0x80000022 (in /Users/JoeMoe/Sites/demoRails/app/assets/javascripts/say.js.coffee) </code></pre> <p>I have checked this file and there is nothing in it besides the commented code. Is there supposed to be something in here?</p> <p>Here is whats in the say.js.coffee file</p> <pre><code># Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ </code></pre> <p>Down the page some more I see I can do an Application Trace which shows me.</p> <pre><code>app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__169683399_21885150' </code></pre> <p>I can also do the framework trace as well. This is going to be a long list by the way.</p> <pre><code>execjs (1.2.9) lib/execjs/external_runtime.rb:129:in `exec_runtime' execjs (1.2.9) lib/execjs/external_runtime.rb:27:in `block in exec' execjs (1.2.9) lib/execjs/external_runtime.rb:40:in `compile_to_tempfile' execjs (1.2.9) lib/execjs/external_runtime.rb:26:in `exec' execjs (1.2.9) lib/execjs/external_runtime.rb:18:in `eval' execjs (1.2.9) lib/execjs/external_runtime.rb:32:in `call' coffee-script (2.2.0) lib/coffee_script.rb:57:in `compile' tilt (1.3.3) lib/tilt/coffee.rb:46:in `evaluate' tilt (1.3.3) lib/tilt/template.rb:76:in `render' sprockets (2.0.3) lib/sprockets/context.rb:175:in `block in evaluate' sprockets (2.0.3) lib/sprockets/context.rb:172:in `each' sprockets (2.0.3) lib/sprockets/context.rb:172:in `evaluate' sprockets (2.0.3) lib/sprockets/bundled_asset.rb:171:in`build_dependency_context_and_body' sprockets (2.0.3) lib/sprockets/bundled_asset.rb:135:in `dependency_context' .... </code></pre> <p>There is more but its a pretty long list and I don't want to bore you. Let me know if you need the full list and I will paste it in.</p> <p>I am running Mac OS X with the following - Ruby 1.9.2 - Rails 3.1.0 - Gem 1.8.10 - sqlite3 3.7.9</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload