RailsCasts Pro episodes are now free!

Learn more or hide this

dschuller's Profile

GitHub User: dschuller

Comments by

Avatar

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
 *= require vendor

and create a file /vendor/assets/stylesheets/application.css containing:

css
 *= require_tree .