Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Rails in production precompile
Recently I have spin up server Ubuntu, Rails … server is running well. However, in case you update rails folder under /home/rails stuff will not work any longer due to the fact services such nginx & unicorn need to be stopped, besides in rails directory ruby precompile command need to run each time update has been done. This is a bit problem for those who need updating theirs rails app, therefore I have written small script doing all at once so in case you would like to take a look at I can send you so you could eventually publish it?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×