summaryrefslogtreecommitdiff
path: root/lib/bundler
AgeCommit message (Collapse)Author
16 hours[rubygems/rubygems] Handle `Errno::EADDRNOTAVAIL` gracefullyDavid Rodríguez
As showed by the unskiped spec, on Windows trying to use the 0.0.0.0 interface raises this error, and it's raised as a generic system error when trying to create a `bundler.lock` file. Here's is a better place to handle that. https://.com/rubygems/rubygems/commit/e32c5a9e5c
16 hours[rubygems/rubygems] Make `HTTP_ERRORS` list look like `FAIL_ERRORS` listDavid Rodríguez
https://.com/rubygems/rubygems/commit/bfa6770e39
16 hours[rubygems/rubygems] Simplify non retriable errors listDavid Rodríguez
https://.com/rubygems/rubygems/commit/627a7615f2
16 hours[rubygems/rubygems] Move `HTTP_ERRORS` together with the other error constantsDavid Rodríguez
https://.com/rubygems/rubygems/commit/57e8ae7aa6
16 hours[rubygems/rubygems] Deprecate unused `Bundler#SpecSet` methodsDavid Rodríguez
https://.com/rubygems/rubygems/commit/380c95ce05
5 daysSkip to Bundler 4 directlyDavid Rodríguez
5 days[rubygems/rubygems] Use `persist-credentials: false` in templateLandon Grindheim
`actions/checkout` defaults this value to `true`, causing credentials to be written to `.git/config`. By setting it to `false`, we lessen the likelihood of secrets being written to disk. https://.com/rubygems/rubygems/commit/a751d36456
5 days[rubygems/rubygems] Fix running gem commands in a `bundle exec` contextDavid Rodríguez
They should only load plugins from gems in the bundle. https://.com/rubygems/rubygems/commit/a229507820
5 days[rubygems/rubygems] Move finding eigenclass to a methodDavid Rodríguez
https://.com/rubygems/rubygems/commit/5ad0737e77
5 days[rubygems/rubygems] Fix grammar in `bundle config` deprecation messageDavid Rodríguez
https://.com/rubygems/rubygems/commit/d23b3d61ac
5 days[rubygems/rubygems] Allow enabling "Bundler 3 mode" more easilyDavid Rodríguez
Currently to test Bundler 3 mode we have to actually edit the version file to simulate we're running a future version. This is inconvenient. Instead, allow passing an environment variable, `BUNDLER_3_MODE`, to set the "working mode" Bundler should use. This can now be set easily by end users to enable them to try out the changes in the future version and give us feedback. It's unclear how version auto-switching should work when this environment variable is set, so the auto-switching feature will be disabled in that case. https://.com/rubygems/rubygems/commit/4e92e9b209
5 days[rubygems/rubygems] Never ignore gems from path sources during activationDavid Rodríguez
The "ignore" attribute is a RubyGems thing to mark when a installed gem should be ignored for activation because its extensions are not properly compiled. In the case of gems from path sources, the warning is not accurate because extensions are compiled into the local lib path, which is not where RubyGems leaves its sentinel `gem.build_complete` file. Also, there's a single version of each gem in the path source available to Bundler, so we always certainly want to consider that for activation and never makes sense to ignore it. https://.com/rubygems/rubygems/commit/ec5d33695e
11 days[rubygems/rubygems] Recognize JRuby loaded from a classloader, not just any JARCody Cutrer
Such is the case if you embed JRuby into an application dynamically (such as via OSGi). From my test environment: ``` irb(main):006:0> $LOADED_FEATURES.grep(/cli.rb/) => ["uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/cli.rb"] ``` https://.com/rubygems/rubygems/commit/75ac5d46a7
12 days[rubygems/rubygems] Remove duplicate documentation for `--changelog` flagJoshua Young
https://.com/rubygems/rubygems/commit/9f1d07685f
12 days[rubygems/rubygems] Fix typos in some documentation lists making them render ↵David Rodríguez
incorrectly https://.com/rubygems/rubygems/commit/19739ba71c
12 days[rubygems/rubygems] Update man pages monthDavid Rodríguez
https://.com/rubygems/rubygems/commit/3e4687616a
13 days[rubygems/rubygems] Validate dependencies when doing bundle installRandy Stauner
https://.com/rubygems/rubygems/commit/b0983f392f
2025-06-06[rubygems/rubygems] Ignore local specifications if they have incorrect ↵David Rodríguez
dependencies Currently ruby-dev installs an incorrect gemspec for rdoc, that does not declare its dependency on psych. This seems like a ruby-core bug, but it seems best for Bundler to ignore it, go with the remote specification instead, and print a warning. https://.com/rubygems/rubygems/commit/227cafd657
2025-06-06Move most of Bundler::GemHelpers to Gem::PlatformSamuel Giddins
This will help centralize wheel platform selection logic eventually Signed-off-by: Samuel Giddins <[email protected]>
2025-06-06[rubygems/rubygems] Cache commit SHA ref revisionsThomas Marshall
If the `ref` option is a specific commit SHA, we can check to see if it's already fetched locally. If it is, then we don't need to re-fetch it from the remote. The `ref` option might not be a commit SHA, so we're using the `#commit` method which returns the full SHA if it's a commit ref, or the locked revision, or nil. This is a small improvement that will make `bundle update` slightly faster in cases for git-sourced gems pinned to a specific commit. https://.com/rubygems/rubygems/commit/f434c2e66c
2025-06-05[rubygems/rubygems] Slightly simplify locked specification source replacementDavid Rodríguez
https://.com/rubygems/rubygems/commit/22f0a07377
2025-06-05[rubygems/rubygems] Fix git source unlocking for multi-gem repositories like ↵David Rodríguez
Rails If you have ``` gem "rails", git: "https://.com/rails/rails" ``` and then explicitly pin to an older ref, like ``` gem "rails", git: "https://.com/rails/rails", ref: "https://.com/rubygems/rubygems/commit/99bacb5aa8e5" ``` Then `bundle install` fails, because locked sources fail to be updated to use the new source. This commit fixes the problem by making sure get their source properly replaced. https://.com/rubygems/rubygems/commit/5de8c2e0cf
2025-06-05[rubygems/rubygems] Fix `bundle update --bundler` when restarts disabledDavid Rodríguez
There's no reason why we should not update bundler as requested, even if restarts are disabled. https://.com/rubygems/rubygems/commit/e59acd2a0d
2025-06-05[rubygems/rubygems] Look in configured path when checking if self-update ↵David Rodríguez
version is installed https://.com/rubygems/rubygems/commit/1ce0882e6f
2025-06-05[rubygems/rubygems] Refactor restarts to not need memoizing the restart versionDavid Rodríguez
https://.com/rubygems/rubygems/commit/a9d80a7dcb
2025-06-05[rubygems/rubygems] Reduce duplication a bitDavid Rodríguez
https://.com/rubygems/rubygems/commit/0574c62fc0
2025-06-05[rubygems/rubygems] Deprecate x64-mingw32 legacy Windows platform in favor ↵Nicholas La Roux
of x64-mingw-ucrt https://.com/rubygems/rubygems/commit/71c969be44
2025-06-03[rubygems/rubygems] Only ignore `.gitignore` when generating gems with gitTangRufus
https://.com/rubygems/rubygems/commit/aec5a7887d
2025-06-03[rubygems/rubygems] Ignore `Gemfile`, `gems.rb` & `gems.locked` according to ↵TangRufus
`init_gems_rb` preference https://.com/rubygems/rubygems/commit/88aeb66f41
2025-06-03[rubygems/rubygems] Remove `.git` from `spec.files` default ignore listTangRufus
https://.com/rubygems/rubygems/commit/4f96e12ff3
2025-06-03[rubygems/rubygems] Rename `ignore_files` to `ignore_paths`TangRufus
https://.com/rubygems/rubygems/commit/c07e3a88aa
2025-06-03[rubygems/rubygems] Add `.gitignore`, `gems.rb` & `gems.locked` into ↵TangRufus
`spec.files` default ignore list https://.com/rubygems/rubygems/commit/6390ed7a2b
2025-06-03[rubygems/rubygems] Remove `features/` from `spec.files` default ignore listTangRufus
https://.com/rubygems/rubygems/commit/77ba4192a7
2025-06-03[rubygems/rubygems] Only ignore `test/` when generating gems with `minitest` ↵TangRufus
or `test-unit` https://.com/rubygems/rubygems/commit/c464f2036a
2025-06-03[rubygems/rubygems] Suffix `.circleci` with `/` in `spec.files` in the ↵TangRufus
`.gemspec` template https://.com/rubygems/rubygems/commit/e48c6beaf6
2025-06-03[rubygems/rubygems] Suffix `.` with `/` in `spec.files` in the ↵TangRufus
`.gemspec` template https://.com/rubygems/rubygems/commit/edf13f7e60
2025-06-03[rubygems/rubygems] Exclude `spec` from `spec.files` in the `.gemspec` ↵TangRufus
template only when using RSpec https://.com/rubygems/rubygems/commit/a42387b8be
2025-06-03[rubygems/rubygems] Exclude `.rspec` from `spec.files` in the `.gemspec` ↵TangRufus
template https://.com/rubygems/rubygems/commit/331901941d
2025-06-03[rubygems/rubygems] Exclude `.rubocop.yml` and `.standard.yml` from ↵TangRufus
`spec.files` in the `.gemspec` template https://.com/rubygems/rubygems/commit/9d937d4f7f
2025-06-03[rubygems/rubygems] Remove `appveyor` from `spec.files` default ignore listTangRufus
https://.com/rubygems/rubygems/commit/2f2046c97b
2025-06-03[rubygems/rubygems] Refactor `spec.files` ignore list generationTangRufus
https://.com/rubygems/rubygems/commit/c11539f325
2025-06-03[rubygems/rubygems] Moved the REMEMBERING OPTIONS section to be after ↵Matthew Hively
CONFIGURATION KEYS Since the remembering options are discouraged, the preferred method should be explained first. Slight tweak to wording Fix documentation spec test as per suggested https://.com/rubygems/rubygems/commit/9f082ccf31
2025-06-03[rubygems/rubygems] Clarify how BUNDLE_DEPLOYMENT, BUNDLE_FROZEN and ↵Matthew Hively
BUNDLE_PATH are connected https://.com/rubygems/rubygems/commit/9ed20bddab
2025-05-26[rubygems/rubygems] Remove backport of LATEST_RUBY_WITHOUT__VERSIONSSamuel Giddins
Signed-off-by: Samuel Giddins <[email protected]> https://.com/rubygems/rubygems/commit/24c8073b24
2025-05-26[rubygems/rubygems] Remove platform backports from bundlerSamuel Giddins
Signed-off-by: Samuel Giddins <[email protected]> https://.com/rubygems/rubygems/commit/9336d3811c
2025-05-26[rubygems/rubygems] Remove reference to validate_rust_builder_rubygems_versionSamuel Giddins
Signed-off-by: Samuel Giddins <[email protected]> https://.com/rubygems/rubygems/commit/f8baf13ab0
2025-05-26[rubygems/rubygems] Bump required_ruby_version to 3.2Samuel Giddins
Ruby 3.1 was EOL March 2025 Signed-off-by: Samuel Giddins <[email protected]> https://.com/rubygems/rubygems/commit/29c21b1e78
2025-05-14Applied rake vendor:installHiroshi SHIBATA
2025-05-13Handle to look up CGI::EscapeExt instead of using LoadError. cgi/escape is ↵Hiroshi SHIBATA
provided snce Ruby 2.3 Notes: Merged: https://.com/ruby/ruby/pull/13311
2025-05-12[rubygems/rubygems] Fix doctor command parsing of otool outputRandy Stauner
I have several gem dylibs that have a line matching "(compatibility " with no file path preceding it. https://.com/rubygems/rubygems/commit/de9dc2bdc4