I am using Rails 3.1 and under assets I have files like this:
assets
javascripts
admin
admin.js
a1.js
client
client.js
c1.js
admin.js looks like this
//
//= require jquery
//= require jquery_ujs
//= require a1
client.js looks like this
//
//= require jquery
//= require c1
Everything works fine in development mode. When I do rake assets:precompile then I do not see any javascript files in public/assets. I do see all the stylesheets in public/assets.
I think this has to do with the fact that manifest files (admin.js and client.js) in this case are in subdirectory.
So is this true that rake assets:precompile does not look into subdirectories?
Any suggestions on how to fix this. I prefer to have the files the way I laid out because I have a bunch of javascript files.