Open marano opened 11 years ago
I have the same problem. Do you find any solution?
@Goozler no, I had to mount everything under root and have the context path on the routes in the controller...
I'm having the same problem trying to run on a sub URI in Passenger.
There is a bunch of known issues with sub URI. This is mostly because sinatra-assetpack is not fully written as a rack middleware, it could and should be fix, but would require a lot of code rewrite.
See #16 and discussion in #68.
If config.ru mounts a controller under a context, different from root, assetpack won't replace the URL in the css files with the cache buster bit. The reason for this is that assetpack internal "served" list doesn't include the context in the path.
Example: