Exception: ExecJS::Rails::RuntimeSupport::DisabledError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/execjs/rails/runtime_support.rb

Overview

This should never actually be thrown, it is just a way to keep our rescue blocks valid when there is no runtime configured. This way, rather than getting a mysterious ‘class or module required for rescue clause’ error, we get the good ‘Could not find a JavaScript runtime.’ error.