Skip to content

Commit 48d4943

Browse files
hsbtclaude
andcommitted
Document no_build_extension and no_install_plugin settings in bundle-config
The quality spec requires all Bundler settings to be documented in the bundle-config man page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 198b01e commit 48d4943

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

bundler/lib/bundler/man/bundle-config.1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,15 @@ The path to the lockfile that bundler should use\. By default, Bundler adds \fB\
154154
\fBlockfile_checksums\fR (\fBBUNDLE_LOCKFILE_CHECKSUMS\fR)
155155
Whether Bundler should include a checksums section in new lockfiles, to protect from compromised gem sources\. Defaults to true\.
156156
.TP
157+
\fBno_build_extension\fR (\fBBUNDLE_NO_BUILD_EXTENSION\fR)
158+
Whether Bundler should skip building native extensions during installation\. When set, gems are installed without compiling their C extensions\. To build extensions later, run \fBgem pristine <gem> \-\-extensions\fR\.
159+
.TP
157160
\fBno_install\fR (\fBBUNDLE_NO_INSTALL\fR)
158161
Whether \fBbundle package\fR should skip installing gems\.
159162
.TP
163+
\fBno_install_plugin\fR (\fBBUNDLE_NO_INSTALL_PLUGIN\fR)
164+
Whether Bundler should skip installing RubyGems plugins during installation\. When set, plugin files are not written to the plugins directory\. To install plugins later, run \fBgem pristine <gem> \-\-only\-plugins\fR\.
165+
.TP
160166
\fBno_prune\fR (\fBBUNDLE_NO_PRUNE\fR)
161167
Whether Bundler should leave outdated gems unpruned when caching\.
162168
.TP

bundler/lib/bundler/man/bundle-config.1.ronn

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,16 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
200200
Gemfile to disable lockfile creation entirely (see gemfile(5)).
201201
* `lockfile_checksums` (`BUNDLE_LOCKFILE_CHECKSUMS`):
202202
Whether Bundler should include a checksums section in new lockfiles, to protect from compromised gem sources. Defaults to true.
203+
* `no_build_extension` (`BUNDLE_NO_BUILD_EXTENSION`):
204+
Whether Bundler should skip building native extensions during installation.
205+
When set, gems are installed without compiling their C extensions.
206+
To build extensions later, run `gem pristine <gem> --extensions`.
203207
* `no_install` (`BUNDLE_NO_INSTALL`):
204208
Whether `bundle package` should skip installing gems.
209+
* `no_install_plugin` (`BUNDLE_NO_INSTALL_PLUGIN`):
210+
Whether Bundler should skip installing RubyGems plugins during installation.
211+
When set, plugin files are not written to the plugins directory.
212+
To install plugins later, run `gem pristine <gem> --only-plugins`.
205213
* `no_prune` (`BUNDLE_NO_PRUNE`):
206214
Whether Bundler should leave outdated gems unpruned when caching.
207215
* `only` (`BUNDLE_ONLY`):

0 commit comments

Comments
 (0)