I am having a go, for the first time, at making a gem which is an engine. I have some javascript files which I have put in the gem/app/assets/javascript. I can access those from the app but only if I require them from the apps application.js. So if I have two js files in the gem, say f1.js and f2.js, then in the apps application.js I have to put //= require f1 //= require f2
I have not been able to find a way to avoid having to require them all individually. Is this possible? Colin -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsaW_Koe9NXxwUaiX7c5Fjep-6JLevzui7qEZECq9qE3A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

