Answer the question
In order to leave comments, you need to log in
How to properly deploy ruby applications?
For example, there is a repo with RoR/Sinatra app. There is a Gemfile with a bunch of dependencies. I want to pack this whole thing into rpm so that I can deploy the program with one command. How to do it right? At the rpm build stage, install the dependencies in the program directory or pack only what is there, and download the dependencies at the rpm installation stage?
Answer the question
In order to leave comments, you need to log in
All dependencies must be built before packaging.
Because at the installation stage they may not be there (the dependency repository has fallen, there is no Internet, etc.)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question