rstacruz / sinatra-assetpack

Package your assets transparently in Sinatra.
http://ricostacruz.com/sinatra-assetpack/
MIT License
541 stars 97 forks source link

Please help me figure out problem. #58

Closed milushov closed 11 years ago

milushov commented 12 years ago

Does anybody here?

https://github.com/milushov/aimpr/blob/test/app.rb

It seems all right, but js: app, or css: app does not return anything.

https://github.com/milushov/aimpr/blob/test/views/layout.haml

j15e commented 11 years ago

Do you get a status 200 OK? Any logs?

j15e commented 11 years ago

Your vendor assets aren't in a default folder served by assetpack, you must specify an additionnal serve statement. Exemple:

serve '/vendor', from: 'app/vendor'