bundle-plugin - 管理 Bundler 插件
bundle plugininstall PLUGINS [--source=SOURCE] [--version=version] [--git=git-url] [--branch=branch|--ref=rev] [--path=path]
bundle pluginuninstall PLUGINS
bundle pluginlist
bundle pluginhelp [COMMAND]
您可以使用此命令安装、卸载和列出插件,以扩展 Bundler 的功能。
安装给定的插件。
bundle plugin install bundler-graphbundle plugin install bundler-graph --source https://example.combundle plugin install bundler-graph --version 0.2.1--version 指定 gem 的版本。bundle plugin install bundler-graph --git https://github.com/rubygems/bundler-graphssh://[user@]host.xz[:port]/path/to/repo.git
http[s]://host.xz[:port]/path/to/repo.git
/path/to/repo
file:///path/to/repo
当您指定 --git 时,您可以使用 --branch 或 --ref 指定要使用的任何分支、标签或提交哈希(修订版)。
bundle plugin install bundler-graph --path ../bundler-graph卸载 PLUGINS 中指定的插件。
列出已安装的插件和可用的命令。
无选项。
描述子命令或一个特定的子命令。
无选项。