示例:“在测试/虚拟中提供Rails应用程序”“为生产安装Rails的推荐方法是什么?”
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.