ruby - What is the recommended way of vendoring rails for a production application? -


Instead of using the latest rail gem for my application, I have to put the local code in my own GIT repository The meaning is to put it in the seller / rail .

There are a few ways to do this: To download the source of the special branch / tag, I want to run it and add it to my repository or use git submodules.

Submodules seem like a natural way to go, but it is not that whenever you clone the repository, you will have to manually check that branch you want to use for that subdue (Otherwise you just get master )? And is there any effect on the capiterno deployment that uses this method?

I recommend a freezing release:

  Rak Rail: Freeze: edge relay = 2.3.3  

There is a git branch for 2-3-stabilized, but I use an awesome time. The subprint is a bit of pain, the equipment is very good, but I like the rail freezing with resolution.

Capitrain is deploying your code a little bit sluggish (the whole rail is in the codebase), but only Castastrano and your production setup

Good luck!


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -