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.
I also put
instead of require 'rails/all'
No matter what I do, when I run rails server I get the "Could not find
In your application.rb file change config.assets.enabled to false.
I'll just quote myself:
"I tried commenting out config.assets.enabled = true in application.rb
setting it to false."
Should have paid more attention sorry. Do you have the execjs gem installed?
At the moment no. I recreated the gemset and commented out those lines
in my Gemfile before running bundle install:
It seems weird to me though that with config.assets.enabled = false
something still tried to use a JS engine.
with the asset pipeline disabled and coffee-script is required in your
gemfile it will require execjs along with it.
Thanks, this clears it up.