U
U
userX12018-03-05 22:31:39
Ruby on Rails
userX1, 2018-03-05 22:31:39

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

1 answer(s)
O
OnYourLips, 2018-03-05
@userX1

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 question

Ask a Question

731 491 924 answers to any question