How would I go about accessing the Bundle-Fu plugin from this rake task?
I have tried everything out and nothing seems to work.
Note:
assets_javascript
&assets_css
are both arrays of files that are pulled from a central location to keep this rake task and the view DRY.
desc "Generate cached css/js files"
task :asset_cache_generate => :environment do
puts 'Caching Javascript & CSS Files'
bundle do
javascript_include_tag assets_javascript
stylesheet_link_tag assets_css
end
end
Thanks in advance for your help!
- Tom