require_tree only retrieves the assets found in the application.js file.
lib/assets and vendor/assets already included in the search paths for the pipeline ( see this code ).
You can include these files using the second manifest.
Go to vendor/assets/javascripts and create a file called misc_vendor.js
Inside the append, add the require_tree directive.
Then refer to this file from the application.js manifest:
require misc_vendor
If you are having problems with the download order, you can manually request the provider files in the order you need, instead of using require_tree.
As part of the conversion to the pipeline, this may be a good chance to clean things up !:-)
source share