Open jgrannas opened 9 years ago
I had a similar problem and got it working by adding my additional files to the cap variable assets_dependencies
. Here's what I did:
# in config/deploy.rb
set :assets_dependencies, fetch(:assets_dependencies) + Dir['engines/*/app/assets']
Is there a proper fix for this?
Would it be reasonable to "read" the application configuration to retrieve that setting, rather than duplicate it in deploy.rb or deploy/staging.rb?
@TJM +1
Not saying I know how to do that :grinning:, but if we could figure out how to "ask" the application for its asset directories, it would "DRY" it up a bit?
Yes, that would be great!
In my staging.rb environment file i was trying to precompile these files:
I had to remove the capistrano-faster-assets gem for this to work.