summaryrefslogtreecommitdiff
path: root/lib/bundler/man/bundle-gem.1
AgeCommit message (Collapse)Author
2026-04-08Merge RubyGems/Bundler 4.0.8Hiroshi SHIBATA
2026-02-09Merge RubyGems/Bundler 4.0.6Hiroshi SHIBATA
2025-11-19[ruby/rubygems] Add `--ext=go` to `bundle gem`Go Sueyoshi
(https://github.com/ruby/rubygems/pull/8183) * Add new gem templates * Add `--ext=go` in `bundle gem` * Add setup-go to .github/workflows/main.yml * Embed go version in go.mod * Use go in bundler CI * Add example method to template * Install Go in .circleci/config.yml * Install Go in .gitlab-ci.yml * Allow hard tabs in go template * Run `rake update_manifest` * Fix test * Move go_gem to gemspec Respect to 9b0ec80 * nits: :golf: * includes valid module name in go.mod * generate header file * Run `go mod tidy` to create `go.sum` * Check if `go.sum` is generated only when Go is installed To avoid test failure in environments where Go is not installed * Run CI * Workaround for hung up c.f. https://github.com/rubygems/rubygems/actions/runs/11639408044/job/32415545422 * Write man for --ext=go * Re-generate man with `./bin/rake man:build` * pinning :pushpin: * Update with `./bin/rake man:build` * nits: Extract to method * nits: Use `sys_exec` instead of `system` * Clean go module cache after test Workaround following error ``` 1) bundle gem gem naming with underscore --ext parameter set with go includes go_gem extension in extconf.rb Failure/Error: FileUtils.rm_r(dir) Errno::EACCES: Permission denied @ apply2files - /home/runner/work/rubygems/rubygems/bundler/tmp/2.2/home/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode_test.go # ./spec/support/helpers.rb:37:in `block in reset!' # ./spec/support/helpers.rb:21:in `each' # ./spec/support/helpers.rb:21:in `reset!' # ./spec/spec_helper.rb:130:in `block (2 levels) in <top (required)>' # /home/runner/work/rubygems/rubygems/lib/rubygems.rb:303:in `load' # /home/runner/work/rubygems/rubygems/lib/rubygems.rb:303:in `activate_and_load_bin_path' ``` Files installed with `go get` have permissions set to 444 ref. https://github.com/golang/go/issues/35615 ``` $ ls -l /home/runner/work/rubygems/rubygems/bundler/tmp/2.2/home/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode_test.go -r--r--r-- 1 runner runner 42320 Nov 15 06:38 /home/runner/work/rubygems/rubygems/bundler/tmp/2.2/home/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode_test.go ``` So they cannot be deleted by `FileUtils.rm_r`. Therefore, this is necessary to execute `go clean -modcache` separately from `FileUtils.rm_r` to circumvent it. * Remove needless changes ref. https://github.com/ruby/rubygems/pull/8183#discussion_r2532902051 * ci: setup-go is needless * Don't run go command in `bundle gem` ref. https://github.com/ruby/rubygems/pull/8183#discussion_r2532765470 * Revert unrelated date changes --------- https://github.com/ruby/rubygems/commit/260d7d60b3 Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org>
2025-09-16[rubygems/rubygems] Complete rubocop flags and settings removalDavid Rodríguez
If the CLI flags are used, we abort early as usual. As per the settings, I decided to ignore them. We've been migrating them automatically to the new name for a long time and we don't yet have a standard way to deprecate and remove settings (we should probably use the existing setting validators). So I think it's fine for now to do what we normally do (ignore the setting). https://github.com/rubygems/rubygems/commit/8311de6e69
2025-09-11[rubygems/rubygems] Complete remembered options removalDavid Rodríguez
https://github.com/rubygems/rubygems/commit/573ffad3ea
2025-08-18[rubygems/rubygems] Improve `bundle config` documentationDavid Rodríguez
For synopsis, subcommand and flag documentation like other commands do. https://github.com/rubygems/rubygems/commit/f528029756
2025-07-07[rubygems/rubygems] Remove `auto_clean_without_path` settingDavid Rodríguez
There already different ways of toggling off this behavior, like setting `bundle config clean false`, or configuring Bundler to install to system gems with `bundle config path.system true`. https://github.com/rubygems/rubygems/commit/6daa09f60a
2025-06-30[rubygems/rubygems] Added manpagesHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/f2826dafce
2025-06-12[rubygems/rubygems] Remove duplicate documentation for `--changelog` flagJoshua Young
https://github.com/rubygems/rubygems/commit/9f1d07685f
2025-06-12[rubygems/rubygems] Fix typos in some documentation lists making them render ↵David Rodríguez
incorrectly https://github.com/rubygems/rubygems/commit/19739ba71c
2025-06-12[rubygems/rubygems] Update man pages monthDavid Rodríguez
https://github.com/rubygems/rubygems/commit/3e4687616a
2025-06-03[rubygems/rubygems] Clarify how BUNDLE_DEPLOYMENT, BUNDLE_FROZEN and ↵Matthew Hively
BUNDLE_PATH are connected https://github.com/rubygems/rubygems/commit/9ed20bddab
2025-03-03[rubygems/rubygems] Bring man pages up to dateJosef Šimánek
https://github.com/rubygems/rubygems/commit/591d2c0503 Notes: Merged: https://github.com/ruby/ruby/pull/12840
2025-01-14Use ronn-ng again for documentation generationDavid Rodríguez
We switched to nronn because ronn-ng felt abandoned, but it seems it has activity again, so switch back. Notes: Merged: https://github.com/ruby/ruby/pull/12568
2024-12-11[rubygems/rubygems] Normalize CLI flag documentation and make sure all flags ↵David Rodríguez
are documented https://github.com/rubygems/rubygems/commit/20a834818b
2024-12-11[rubygems/rubygems] Add documentation for changelog flags in `bundle gem`Adam Leach
The --changelog and --no-changelog flags are missing from docs, this adds them in a way that matches other flags https://github.com/rubygems/rubygems/commit/92f77678fe
2024-12-11[rubygems/rubygems] Add several missing flags to `bundle gem --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/aaf6398870
2024-12-11[rubygems/rubygems] Bring man pages up to dateDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8288cfd3e0
2024-11-11[rubygems/rubygems] Cancel `bundle console` deprecationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/506a863b36
2024-10-18[rubygems/rubygems] Clarify `bundle install --quiet` documentationJerome Dalbert
Bundler always exits with a status code. https://github.com/rubygems/rubygems/commit/3a38bd0b12
2024-09-04[rubygems/rubygems] Improve `bundle add` manpageTakuya Noguchi
* Fix synopsis for mutually exclusive options. * Add more descriptive examples. Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> https://github.com/rubygems/rubygems/commit/c0f1efda69 Co-authored-by: Jerome Dalbert <jerome.dalbert@gmail.com>
2024-08-29[rubygems/rubygems] Add a note about "platforms" in Gemfile vs "platforms" ↵David Rodríguez
in Gemfile.lock https://github.com/rubygems/rubygems/commit/0dd4bd59b4
2024-06-26[rubygems/rubygems] Add --no-test, --no-ci, and --no-linter optionsJerome Dalbert
https://github.com/rubygems/rubygems/commit/f58660ffcc
2024-06-25[rubygems/rubygems] Regenerate bundler docs for June 2024.Josef Šimánek
https://github.com/rubygems/rubygems/commit/72103ca1e8
2024-05-08[rubygems/rubygems] Monthly man update for May 2024.Josef Šimánek
https://github.com/rubygems/rubygems/commit/9ee7069841
2024-04-18[rubygems/rubygems] Never write credentials to lockfilesDavid Rodriguez
https://github.com/rubygems/rubygems/commit/e8a363713e
2024-03-27[rubygems/rubygems] Allow installing plugins from path via CLICody Cutrer
Also bring the man page up to date. https://github.com/rubygems/rubygems/commit/a849bd6947
2024-02-21[rubygems/rubygems] rake man:buildHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/e0ef515732
2023-12-08[rubygems/rubygems] Migrate documentation to be generated with nronnDavid Rodríguez
https://github.com/rubygems/rubygems/commit/55281f0eaa
2023-12-08[rubygems/rubygems] Add extra blank line to `bundle outdated` docsDavid Rodríguez
If it's not there, when migrating to `nronn`, generated man page is messed up. https://github.com/rubygems/rubygems/commit/7161347648
2023-11-26[rubygems/rubygems] Add missing --prefer-local to Synopsis in ↵Olle Jonsson
bundle-install.1.ronn https://github.com/rubygems/rubygems/commit/e956c5bbe4
2023-10-06[rubygems/rubygems] Update man page for bundle exec to reflect default flag ↵Manu
value `--keep-file-descriptors` is true by default. https://github.com/rubygems/rubygems/commit/b28e88e228
2023-08-17[rubygems/rubygems] Clarify that `bundle info` takes a gem nameManu
https://github.com/rubygems/rubygems/commit/09ef74ef73
2023-07-05Sync man pagesParadoxV5
Co-Authored-By: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2023-02-21Merge rubygems/bundler masterHiroshi SHIBATA
Pick from https://github.com/rubygems/rubygems/commit/e9304aed7e43308b99e70c2f7b92028315fee8a5 Notes: Merged: https://github.com/ruby/ruby/pull/7345
2023-01-01[rubygems/rubygems] Remove stray word in bundle config man page.Mark Doliner
There was an extra word ("with") in this sentence. https://github.com/rubygems/rubygems/commit/ad3de5126c
2022-12-24Merge RubyGems-3.4.0 and Bundler-2.4.0Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6987
2022-12-20Merge RubyGems/Bundler masterHiroshi SHIBATA
Pick from https://github.com/rubygems/rubygems/commit/ba3adad4d80038ffd7bea015da2f11d3e8a2ff82 Notes: Merged: https://github.com/ruby/ruby/pull/6966
2022-12-20[rubygems/rubygems] Turn `--ext` option into string. Deprecate usage without ↵Josef Šimánek
explicit value. - this is preparation for onboarding Rust based extension gem generator https://github.com/rubygems/rubygems/commit/d32801bdbc Notes: Merged: https://github.com/ruby/ruby/pull/6966
2022-12-20[rubygems/rubygems] Regenerate bundler man pages for December 2022.Josef Šimánek
https://github.com/rubygems/rubygems/commit/17037fe32c Notes: Merged: https://github.com/ruby/ruby/pull/6966
2022-10-18[rubygems/rubygems] Bundler: github DSL has used https protocol over gitTakuya Noguchi
This behavior change was done in Bundler 2.2.0. https://github.com/rubygems/bundler/pull/7142 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> https://github.com/rubygems/rubygems/commit/9510190be1
2022-09-08Resync Bundler & RubyGemsDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/6330
2022-09-05Merge ↵Hiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/16c3535413afebcdbab7582c6017c27b5da8a8dc Notes: Merged: https://github.com/ruby/ruby/pull/6326
2022-07-27[rubygems/rubygems] Add ignore_funding_requests config flagmoe
https://github.com/rubygems/rubygems/commit/ab302f72c9
2022-06-30[rubygems/rubygems] Use modern style hashes in Gemfile DSL docsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/3f83236c02
2022-05-06[rubygems/rubygems] Update man page for `require` option in `bundle add` commandnobuyo
https://github.com/rubygems/rubygems/commit/08a0a5b7d1
2022-03-06[rubygems/rubygems] Make `--strict` flag of `update` and `outdated` commands ↵David Rodríguez
consistent Previously they had slightly different behavior when combined with conservative updating flags. The correct behavior is the `--update-strict` option, so `--script` now does that, The `--update-strict` option is left there for now but I will deprecate it later. https://github.com/rubygems/rubygems/commit/ab42046229
2022-02-11[rubygems/rubygems] Add clarification for bundle-config "with" optionIlia Zenkevich
https://github.com/rubygems/rubygems/commit/666f3cc724
2021-12-06[rubygems/rubygems] Feature: accept pull request URLs as github sourceJean Boussier
Very often github source is used to temporarily use a modified gem while a PR upstream is being reviewed. So for instance https://github.com/ruby/bigdecimal/pull/211 will look like: ```ruby gem "bigdecimal", github: "casperisfine/bigdecimal", branch: "git-gem" # https://github.com/ruby/bigdecimal/pull/200 ``` It's annoying because you have to fiddle with the branch name, which is copied as `casperisfine:git-gem`, etc etc. If I could simply use the PR URL like this: ``` gem "bigdecimal", github: "https://github.com/ruby/bigdecimal/pull/211" ``` It would make a very common task for me so much simpler. https://github.com/rubygems/rubygems/commit/517c527751
2021-11-04[rubygems/rubygems] Fix typosNobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/f328ef6f77