I am using requirejs-rails newest version 1.0.0 and sprockets-rails 3.0.4
Still using version sprockets-rails 2.3.3 to fix the bug
it shows the error :
Sprockets::Rails::Helper::AssetNotPrecompiled in Home#index
Asset was not declared to be precompiled in production.
Add Rails.application.config.assets.precompile += %w( footer/footer-app.js ) to config/initializers/assets.rb and restart your server
%title
= requirejs_include_tag "application"
I am using requirejs-rails newest version 1.0.0 and sprockets-rails 3.0.4 Still using version sprockets-rails 2.3.3 to fix the bug it shows the error : Sprockets::Rails::Helper::AssetNotPrecompiled in Home#index Asset was not declared to be precompiled in production. Add Rails.application.config.assets.precompile += %w( footer/footer-app.js ) to config/initializers/assets.rb and restart your server %title = requirejs_include_tag "application"