It've been confused as well, that the sprocket directive //= require_tree . in app/assets/javascripts/application.js does not include javascripts in /vendor/assets/javascripts. But your solution works well. Same goes for stylesheets, put this line in your app/assets/stylesheets/application.css:
css
*= requirevendor
and create a file /vendor/assets/stylesheets/application.css containing:
It've been confused as well, that the sprocket directive
//= require_tree .
in app/assets/javascripts/application.js does not include javascripts in /vendor/assets/javascripts. But your solution works well. Same goes for stylesheets, put this line in your app/assets/stylesheets/application.css:and create a file /vendor/assets/stylesheets/application.css containing: