Assets manifest location does not honor prefix #2776

rhulse opened this Issue Aug 31, 2011 · 2 comments


None yet
3 participants

rhulse commented Aug 31, 2011

When using a different prefix (in my case '/x'), the assets manifest is still created in /assets. This appears to be because @assets.manifest is set during Rails initialization, then on line 24 of assets.rake an assignment is made:

target =, config.assets.prefix))
manifest = {}
manifest_path = config.assets.manifest || target

but target will never be used (unless manifest set to false).

The expected behavior is that manifest path follow prefix path by default.


guilleiguaran commented Aug 31, 2011

Thanks, I had fixed this and will send a pull request


rhulse commented Aug 31, 2011

Cool. Anyone who wants to stay on the 3.1.0 Gem can workaround this in their production.rb:

# TODO: Remove this with next stable release
config.assets.manifest = false

spastorino closed this in a4b7363 Sep 1, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment