add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

36
pages.zh/common/bundle.md Normal file
View File

@@ -0,0 +1,36 @@
# bundle
> Ruby编程语言的依赖管理工具。
> 更多信息: <https://bundler.io/man/bundle.1.html>。
- 安装工作目录中`Gemfile`中定义的所有gem
`bundle install`
- 在当前bundle的上下文中执行命令
`bundle exec {{command}} {{arguments}}`
- 按照`Gemfile`中定义的规则更新所有gem并重新生成`Gemfile.lock`
`bundle update`
- 更新`Gemfile`中定义的一个或多个特定gem
`bundle update {{gem_name1}} {{gem_name2}}`
- 更新`Gemfile`中定义的一个或多个特定gem但仅更新到下一个补丁版本
`bundle update --patch {{gem_name1}} {{gem_name2}}`
- 更新`Gemfile`中给定组内的所有gem
`bundle update --group {{development}}`
- 列出已安装的gem并查看可用的更新版本
`bundle outdated`
- 创建一个新的gem骨架
`bundle gem {{gem_name}}`