Exception: Sprockets::Railtie::ManifestNeededError
- Inherits:
-
StandardError
- Object
- StandardError
- Sprockets::Railtie::ManifestNeededError
- Defined in:
- lib/sprockets/railtie.rb
Instance Method Summary collapse
-
#initialize ⇒ ManifestNeededError
constructor
A new instance of ManifestNeededError.
Constructor Details
#initialize ⇒ ManifestNeededError
Returns a new instance of ManifestNeededError.
64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/sprockets/railtie.rb', line 64 def initialize msg = "Expected to find a manifest file in `app/assets/config/manifest.js`\n" + "But did not, please create this file and use it to link any assets that need\n" + "to be rendered by your app:\n\n" + "Example:\n" + " //= link_tree ../images\n" + " //= link_directory ../javascripts .js\n" + " //= link_directory ../stylesheets .css\n" + "and restart your server\n\n" + "For more information see: https://github.com/rails/sprockets/blob/070fc01947c111d35bb4c836e9bb71962a8e0595/UPGRADING.md#manifestjs" super msg end |