Getting Started
Guides
Dependency Management
- How to manage application dependencies with Bundler
- How to manage dependencies with Bundler
- How to update gems with Bundler
- How to manage groups of gems
- How to install gems from git repositories
- Recommended Workflow with Version Control
- How to use Bundler with Ruby
- How to use Bundler in a single-file Ruby script
- How to deploy bundled applications
Gem Development
Publishing & Security
- Trusted Publishing
- Setting up multi-factor authentication
- Using multi-factor authentication in command line
- MFA requirement opt in
- Managing owners using UI
- Organizations
- Removing a Published gem
- Security Practices
Integrations
- How to use Bundler with Rails
- How to use Bundler with Sinatra
- How to use Bundler with Docker
- How to use Bundler with RubyMotion
Hosting & Sources
Extending
Troubleshooting
- How to troubleshoot RubyGems and Bundler TLS/SSL Issues
- SSL Certificate Update
- How to use git bisect with Bundler
Concepts
Reference
- gem Command Reference
- Bundler Command Reference
- Gemfile Reference
- Ruby Directive
- Specification Reference
- RubyGems.org API
- RubyGems.org API V2.0
- RubyGems.org Compact Index API
- RubyGems.org rate limits
- API key scopes
- Bundler compatibility with Ruby
- Known Bundler Plugins
Appendix
bundle plugin
This reference was automatically generated from Bundler version 4.0.17.
bundle plugininstall PLUGINS [--source=SOURCE] [--version=VERSION] [--git=GIT] [--branch=BRANCH|--ref=REF] [--path=PATH]
bundle pluginuninstall PLUGINS [--all]
bundle pluginlist
bundle pluginhelp [COMMAND]
Description
You can install, uninstall, and list plugin(s) with this command to extend functionalities of Bundler.
Sub-commands
Install
Install the given plugin(s).
For example, bundle plugin install bundler-graph will install bundler-graph
gem from globally configured sources (defaults to RubyGems.org). Note that the
global source specified in Gemfile is ignored.
OPTIONS
--source=SOURCE- Install the plugin gem from a specific source, rather than from globally configured sources.
Example:
bundle plugin install bundler-graph --source https://example.com --version=VERSION- Specify a version of the plugin gem to install via
--version.Example:
bundle plugin install bundler-graph --version 0.2.1 --git=GIT- Install the plugin gem from a Git repository. You can use standard Git URLs like:
ssh://[user@]host.xz[:port]/path/to/repo.git
http[s]://host.xz[:port]/path/to/repo.git
/path/to/repo
file:///path/to/repoExample:
bundle plugin install bundler-graph --git https://github.com/rubygems/bundler-graph --branch=BRANCH- When you specify
--git, you can use--branchto use. --ref=REF- When you specify
--git, you can use--refto specify any tag, or commit hash (revision) to use. --path=PATH- Install the plugin gem from a local path.
Example:
bundle plugin install bundler-graph --path ../bundler-graph
Uninstall
Uninstall the plugin(s) specified in PLUGINS.
OPTIONS
--all- Uninstall all the installed plugins. If no plugin is installed, then it does nothing.
List
List the installed plugins and available commands.
No options.
Help
Describe subcommands or one specific subcommand.
No options.