What happens when you deploy scripts?

A question.
On the local machine in development everything works fine and smoothly in terms of assets.
When you deploy the application to production, there are some unknown metamorphosis with scripts. In the console of the web master browser errors with unknown classes, the jquery version 3.0 is not suitable bootstrapу 3 series (although on the local machine - everything is OK), the extension over ordinary bootstrapОм jasny-bootstrap is not working and so on.

What my script on the local machine is different from production, well, except that it is compressed? What manipulation of .js when rolled out to the server may result in various glitches above?

Assets precompile. Checked all plug-in library, everything is there. Put all through bower.
July 8th 19 at 11:40

Find more questions by tags Ruby on Rails