[LRUG] Rails 4 & Assets

Oliver Legg ollylegg at gmail.com
Thu Jun 27 03:03:14 PDT 2013


> 2. create a custom assets:precompile task that does some bullshit magic to make the assets gems available.  I worry about this because "bullshit magic".

I haven't really looked into this change, but I think I'd go with this option. The "bullshit magic" is probably just:

    Rake::Task['environment'].invoke
    Bundler.require(:assets)
    Rake::Task['assets:precompile'].invoke
    
That, if it works, doesn't seem like too much magic.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20130627/115e9016/attachment-0003.html>


More information about the Chat mailing list