I have added a tinymce custom plugin in app/assets/tinymce/plugins/imagegallery/plugin.js and other related files in app/assets/tinymce/plugins/imagegallery/
It works fine in development on local machine. But, in production I get 404 NOT FOUND error.
http://<url>/assets/tinymce/plugins/imagegallery/plugin.js
I use rubber and deploy to Amazon EC2. Is there any rails asset configuration which I am missing? I am of the opinion that app/assets are already added in the asset pipeline. In application.js file, I have also tried adding "require tinymce". But, it did not help.
Any help is appreciated. Thanks in advance!