I'm having problems precompiling my assets in a Rails 4 app. I followed the steps in this question to set up two different files in my asset pipeline that act as asset manifest files. In particular, in my /app/assets/javascript
directory, I have two files, application.js
and meeting_handout.js
that act as manifest files. When I run rake assets:precompile
, however, only the assets referenced from application.js
are precompiled. I end up with the file public/assets/application-HASH.css
being generated, but not the file public/assets/meeting-handout-HASH.css
. What can I do to fix this?
The research I've done so far says to make sure that in config/application.rb
, I include the following line:
config.assets.precompile += %w( meeting_handout.js )
My appliation.rb
does in fact have that line, but I'm still not getting the behavior I'm expecting.