I'm trying to use Rails for the first time and since 3.1 is already in
RC stage I thought I'd use it. The problem is I don't want any of the
asset pipeline functionality. I decided to use RequireJS in my project
and I simply don't need asset pipeline or Sprockets. I tried
commenting out config.assets.enabled = true in application.rb or
setting it to false.
No matter what I do, when I run rails server I get the "Could not find
a JavaScript runtime" error. Is it impossible to disable the asset
pipeline or is JavaScript runtime needed for something else?
coffee-script requires execjs to compile the javascript files. Even
with the asset pipeline disabled and coffee-script is required in your
gemfile it will require execjs along with it.