Examples: "Vendoring Rails application at test/dummy" "What is the recommended way of vendoring Rails for production?"
Asked
Active
Viewed 5,421 times
20
-
2Possible duplicate of [What is "vendoring"?](http://stackoverflow.com/questions/26217488/what-is-vendoring) – Whymarrh Mar 06 '17 at 23:50
1 Answers
18
Vendoring is the moving of all 3rd party items such as plugins, gems and even rails into the /vendor
directory.
This is one method for ensuring
that all files are deployed to the production server the same as the dev environment.
Best way to do this is either:
rake gems:unpack
Or
rake rails:freeze:gems
Use rake -T
to see a full list of rake tasks.

Casper
- 33,403
- 4
- 84
- 79

TomDunning
- 4,829
- 1
- 26
- 33