Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the term "vendoring" or "to vendor" mean for Ruby on Rails?

Examples: "Vendoring Rails application at test/dummy" "What is the recommended way of vendoring Rails for production?"

like image 834
jim_rm Avatar asked Jul 07 '12 21:07

jim_rm


1 Answers

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.

like image 139
TomDunning Avatar answered Sep 27 '22 23:09

TomDunning