Damjan Rems
2014-Jan-27 10:00 UTC
How to put everything from directory into assets as subdirectory
By everything I mean everything. Untouched by assets pipeline. External javascript libraries, like CK Editor for example, dynamicly load javascript and css in runtime, depending on settings. So compiling them with assets pipeline into one file makes no sense, even worse it doesn't work at all. Is there a mechanizm in rails to copy all files from ex. ../gems/../lib/assets/ck_editor to ../assets/ck_editor directory. It is hard to automate copying since it is a moving target, due to gems versions, so it has to be done by hand. Funny thing is that everything works in development, but of course not in production, since assets pipeline has no mechanizm to move whole directory into assets directory. Or have I missed something obvious? by TheR -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/aaf04f195dededf06e5db4e5a76f2cf8%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.