I've made a lot of severely backwards-incompatible changes here.
Basically, the assets are asset-pipeline assets, and you're expected to just include them in your manifest. So no more conditional inclusion. Which removes half the logic.
Feel free to merge if you want. I'd make this a full version level increase.
Use asset pipeline
We werent using this anyway
Making assets and routes work as an engine