I have tried different ways to use this AssetPackager. The software I am working with is already using it.
I am using notepad++ to modify the software. I am trying to change the javascript code but there is not any change. i suppose I am just changing the javascript files but I am not changing the base_packaged.js which is the one that all the pages use when they load the javascript files.
Could you please tell me what I need in order to update or create a new base_packaged.js with the changes I have made?
Thank you.
You need to use
raketo update your assets:In your development environment the assets are not packed if you use the
javascript_include_merged :basehelper in your view. This way you do not need to update it after every change.You need to
build_allbefore deploy production environment. When you use Capistrano for deployment there are tasks you can add to your deploy chain to get your assets updated on every deployment.