It turns out that rake assets:precompile with the gem does not work under Rails 3, because Rails 3's assets:precompile:all task also forks or execs a separate process for assets:precompile:nondigest, which has a side effect of re-initializing the app without any of our config.assets.precompile additions.
I've looked into a few hacky ways to fix this, and I think the best way is probably just an initializer for both versions to set up the asset paths separately from the lineman builds.
It turns out that
rake assets:precompilewith the gem does not work under Rails 3, because Rails 3'sassets:precompile:alltask also forks or execs a separate process forassets:precompile:nondigest, which has a side effect of re-initializing the app without any of ourconfig.assets.precompileadditions.I've looked into a few hacky ways to fix this, and I think the best way is probably just an initializer for both versions to set up the asset paths separately from the lineman builds.