This repository has been archived by the owner on Jul 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
bundle_plugin.html
269 lines (260 loc) · 8.34 KB
/
bundle_plugin.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta content='IE=edge' http-equiv='X-UA-Compatible'>
<meta content='en' http-equiv='Content-Language'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
<meta content='276VSYOko8B8vIu1i8i5qbj7_ql5PXo0dU69XQy-SL' name='globalsign-domain-verification'>
<title>
Bundler: The best way to manage a Ruby application's gems
</title>
<script src="/application.min.js"></script>
<link href="/application.css" rel="stylesheet" />
<link href='/images/apple-touch-icon.png' rel='apple-touch-icon' sizes='180x180'>
<link href='/images/favicon-32x32.png' rel='icon' sizes='32x32' type='image/png'>
<link href='/images/favicon-16x16.png' rel='icon' sizes='16x16' type='image/png'>
<link href='/manifest.json' rel='manifest'>
<link color='#50bced' href='/images/safari-pinned-tab.svg' rel='mask-icon'>
<meta content='bundler.io' name='apple-mobile-web-app-title'>
<meta content='bundler.io' name='application-name'>
<meta content='#ffffff' name='theme-color'>
<link rel="alternate" type="application/atom+xml" title="Atom Feed" href="/blog/feed.xml" />
</head>
<body class=''>
<nav class='navbar navbar-expand-md navbar-light'>
<div class='container-md'>
<a href="/" class="navbar-brand me-auto fw-bold">Bundler</a>
<button aria-controls='bs-navbar-collapse' aria-expanded='false' aria-label='Toggle navigation' class='navbar-toggler' data-bs-target='#bs-navbar-collapse' data-bs-toggle='collapse' type='button'>
<span class='navbar-toggler-icon'></span>
</button>
<div class='collapse navbar-collapse flex-grow-0' id='bs-navbar-collapse'>
<ul class='navbar-nav'>
<li class='nav-item'>
<input class='input-search my-1 ps-1 pt-1' id='input-search' placeholder='Type to search...' type='text'>
<svg class='text-opacity-40 m-1 mb-2' style='width: 1rem; height: 1rem; fill: currentcolor;' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'>
<!-- Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. -->
<path d='M500.3 443.7l-119.7-119.7c27.22-40.41 40.65-90.9 33.46-144.7C401.8 87.79 326.8 13.32 235.2 1.723C99.01-15.51-15.51 99.01 1.724 235.2c11.6 91.64 86.08 166.7 177.6 178.9c53.8 7.189 104.3-6.236 144.7-33.46l119.7 119.7c15.62 15.62 40.95 15.62 56.57 0C515.9 484.7 515.9 459.3 500.3 443.7zM79.1 208c0-70.58 57.42-128 128-128s128 57.42 128 128c0 70.58-57.42 128-128 128S79.1 278.6 79.1 208z'></path>
</svg>
</li>
<li class='nav-item'><a href="/docs.html" class="nav-link">Docs</a></li>
<li class='nav-item'><a href="/contributors.html" class="nav-link">Team</a></li>
<li class='nav-item'><a href="/blog" class="nav-link">Blog</a></li>
<li class='nav-item'><a href="https://github.com/rubygems/rubygems/tree/master/bundler" target="_blank" rel="noopener noreferrer" class="nav-link">Repository</a></li>
</ul>
</div>
</div>
</nav>
<div class='bg-light-blue header'>
<img src="/images/docs_header_transparent_bg.png" srcset="/images/docs_header_transparent_bg.png 1x, /images/[email protected] 2x, /images/[email protected] 3x" class="img-fluid header-padding" style="max-width: 400px;" alt="" />
</div>
<div class='container'>
<div class='row flex-column flex-md-row-reverse'>
<div class='col-12 col-md-9 contents guide' id='page-content-wrapper'>
<h2>bundle plugin</h2>
<div class='contents'>
<div class='bullet'>
<div class='description'>
Manage Bundler plugins.
</div>
<div class='notes'>
<ul>
<li>
See also
<a href="/guides/bundler_plugins.html">How to write a Bundler plugin</a>
</li>
<li>
In 2.2.0, an additional <code>uninstall</code> command will be added.
</li>
</ul>
</div>
<div class="highlight"><pre class="highlight plaintext"><code>$ bundle plugin install PLUGINS
</code></pre></div>
<div class='description'>
Install the plugin from the source
</div>
<div class='notes'>
<p>
Options:
</p>
<p>
<code>--source</code>: URL of the RubyGems source to fetch the plugin from
</p>
<p>
<code>--version</code>: The version of the plugin to fetch
</p>
<p>
<code>--git</code>: URL of the git repo to fetch from.
</p>
<p>
<code>--local-git</code>: Path of the local git repo to fetch from. This is the
<a href="https://github.com/rubygems/bundler-site/pull/464">recommended</a>
way to install a plugin from a local filesystem (a useful technique for plugin developers)
</p>
<p>
<code>--branch</code>: The git branch to checkout
</p>
<p>
<code>--ref</code>: The git revision to check out
</p>
</div>
<div class="highlight"><pre class="highlight plaintext"><code>$ bundle plugin list
</code></pre></div>
<div class='description'>
List the installed plugins and available commands
</div>
<div class='notes'>
<p>
No options.
</p>
</div>
<div class="highlight"><pre class="highlight plaintext"><code>$ bundle plugin help [COMMAND]
</code></pre></div>
<div class='description'>
Describe subcommands or one specific subcommand
</div>
<div class='notes'>
<p>
No options.
</p>
</div>
</div>
</div>
</div>
<div class='col-12 col-md-3 mt-4' id='sidebar-wrapper'>
<div class='sidebar-nav'>
<h4>Guides</h4>
<ul>
<li class=''>
<a href="/guides/faq.html">Frequently Asked Questions</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/getting_started.html">Getting Started</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/bundler_2_upgrade.html">How to Upgrade to Bundler 2</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/creating_gem.html">How to create a Ruby gem with Bundler</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/deploying.html">How to deploy bundled applications</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/git.html">How to install gems from git repositories</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/using_bundler_in_applications.html">How to manage application dependencies with Bundler</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/groups.html">How to manage groups of gems</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/bundler_sharing.html">How to package and share code using a Gemfile</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/rubygems_tls_ssl_troubleshooting_guide.html">How to troubleshoot RubyGems and Bundler TLS/SSL Issues</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/updating_gems.html">How to update gems with Bundler</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/bundler_in_a_single_file_ruby_script.html">How to use Bundler in a single-file Ruby script</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/bundler_docker_guide.html">How to use Bundler with Docker</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/rails.html">How to use Bundler with Rails</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/bundler_setup.html">How to use Bundler with Ruby</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/sinatra.html">How to use Bundler with Sinatra</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/git_bisect.html">How to use git bisect with Bundler</a>
</li>
<li class='separator'>
<hr>
</li>
<li class=''>
<a href="/guides/bundler_plugins.html">How to write a Bundler plugin</a>
</li>
<li class='separator'>
<hr>
</li>
</ul>
</div>
</div>
</div>
</div>
<script src="/anchors.min.js"></script>
<div class='bg-light-blue'>
<div class='container'>
<div class='contents'>
<div class='edit-on-github text-center'>
<a href="https://github.com/rubygems/bundler-site/blob/master/source/v2.3/bundle_plugin.html.haml">Edit this document on GitHub</a> if you caught an error or noticed something was missing.
</div>
</div>
</div>
</div>
<div class='footer'>
<nav class='navbar justify-content-center'>
<ul class='navbar-nav'>
<li class='nav-item'><a href="/docs.html" class="nav-link px-3">Docs</a></li>
<li class='nav-item'><a href="/contributors.html" class="nav-link px-3">Team</a></li>
<li class='nav-item'><a href="/blog" class="nav-link px-3">Blog</a></li>
<li class='nav-item'><a href="/about.html" class="nav-link px-3">About</a></li>
<li class='nav-item'><a href="https://github.com/rubygems/rubygems/tree/master/bundler" class="nav-link px-3">Repository</a></li>
</ul>
</nav>
</div>
</body>
</html>