aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler.rb
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Fix crash when installing gems with symlinksDavid Rodríguez2022-05-301-0/+11
| | | | | | | | | | | | | | | If BUNDLE_PATH is configured to a symlinked path, installing gems with symlinks would crash with an error like this: ``` Gem::Package::SymlinkError: installing symlink 'man/man0/README.markdown' pointing to parent path /usr/home/stevewi/srv/mail/lib/tools/.vendor/ruby/3.1.0/gems/binman-5.1.0/README.markdown of /srv/mail/lib/tools/.vendor/ruby/3.1.0/gems/binman-5.1.0 is not allowed ``` This commit fixes the problem by changing the bundle path to be the realpath of the configured value, right after we're sure the path has been created. https://github.com/rubygems/rubygems/commit/3cd3dd142a
* [rubygems/rubygems] Fix typo in documentationDominik Bauernfeind2022-05-061-1/+1
| | | | https://github.com/rubygems/rubygems/commit/800a973e00
* Merge rubygems master 1e4eda741d732ca1bd7031aef0a16c7348adf7a5Hiroshi SHIBATA2022-04-281-1/+1
|
* [rubygems/rubygems] Make `rescue` clause more specificDavid Rodríguez2022-03-231-1/+1
| | | | | | | | | | | | This is hiding a real bundler issue as a "network error". It's more helpful to get a proper bug report, with stack trace and so on. So stop re-raising errors when evaluating unmarshaled responses as network errors, and only raise Marshal errors when the Marshal format is invalid, not whenever marshalled gemspecs can't be loaded because that may hide actual client errors, like missing `YAML` constants. https://github.com/rubygems/rubygems/commit/05ea907e1c
* Merge RubyGems and Bundler masterHiroshi SHIBATA2022-02-281-1/+1
|
* Merge RubyGems-3.3.0 and Bundler-2.3.0Hiroshi SHIBATA2021-12-211-0/+8
|
* [rubygems/rubygems] Vendor a pure ruby implementation of SHA1Jean Boussier2021-10-251-0/+1
| | | | | | | This allows `Source::Git` to no longer load the `digest` gem as it is causing issues on Ruby 3.1. https://github.com/rubygems/rubygems/pull/4989/commits/c19a9f2ff7
* [rubygems/rubygems] Remove `syck` traces from `bundler`David Rodríguez2021-08-311-3/+1
| | | | | | Same reason as in the previous commit. https://github.com/rubygems/rubygems/commit/f00a6c8516
* [rubygems/rubygems] Fix `bundle plugin install` misdetection of installed ↵David Rodríguez2021-08-311-8/+8
| | | | | | versions https://github.com/rubygems/rubygems/commit/9c88db949d
* [rubygems/rubygems] Move `Bundler.rubygems.clear_paths` to a better placeDavid Rodríguez2021-08-311-1/+1
| | | | | | Since it clears both home and path. https://github.com/rubygems/rubygems/commit/fadf5e03ea
* [rubygems/rubygems] Bundle path is already expandedDavid Rodríguez2021-08-311-1/+1
| | | | https://github.com/rubygems/rubygems/commit/a296052670
* [rubygems/rubygems] Normalize setting `GEM_PATH`David Rodríguez2021-08-311-2/+2
| | | | https://github.com/rubygems/rubygems/commit/4188ebd568
* [rubygems/rubygems] Remove more unused codeDavid Rodríguez2021-08-311-6/+1
| | | | https://github.com/rubygems/rubygems/commit/986e889a79
* [rubygems/rubygems] Remove unnecessary lineDavid Rodríguez2021-08-311-1/+0
| | | | https://github.com/rubygems/rubygems/commit/a7023c6c21
* [rubygems/rubygems] Remove LoadError message in regards to requiring a ↵Daniel Niknam2021-07-271-4/+0
| | | | | | | | | | | | | | relative file Ruby 1.9.2 removed "." from LOAD_PATH for robustness and security reasons. This code was introduced by https://github.com/rubygems/rubygems/commit/56fc830e19a573a5905eba7f4714ad1f21ed1927 commit to helping users understand the issue and had a guard condition to include the message for `RUBY_VERSION >= "1.9"`. However, the guard condition was removed as part of the "Ruby version leftover" cleanup by https://github.com/rubygems/rubygems/commit/8c9cf76e419fbd8ba83144d701b24ca388813b14 Ruby 1.9 development was ended a long time ago and this message is not useful anymore. https://github.com/rubygems/rubygems/commit/a23609b15a
* Merge RubyGems/Bundler master from 8459ebd6ad65ce3397233416dc64083ae7572bb9Hiroshi SHIBATA2021-07-141-5/+4
|
* Sync RubyGems and Bundler with upstreamHiroshi SHIBATA2021-07-071-1/+1
|
* Sync latest bundler & rubygems development versionDavid Rodríguez2021-07-071-0/+1
|
* Merge the master branch of BundlerHiroshi SHIBATA2021-04-151-1/+1
|
* Sync latest development version of bundler & rubygemsDavid Rodríguez2021-03-081-2/+1
|
* Merge RubyGems 3.2.3 and Bundler 2.2.3Hiroshi SHIBATA2020-12-231-6/+3
|
* Prepare to release rubygems-3.2.1 and bundler-2.2.1Hiroshi SHIBATA2020-12-151-1/+11
|
* Merge prepare version of Bundler 2.2.0Hiroshi SHIBATA2020-12-081-0/+4
|
* Merge bundler-2.2.0.rc.2Hiroshi SHIBATA2020-10-151-3/+6
|
* Update the bundler version with master branchHiroshi SHIBATA2020-05-131-4/+15
|
* Prepare to release bundler-2.1.0Hiroshi SHIBATA2019-12-151-1/+0
|
* Merge Bundler 2.1.0.pre.3Hiroshi SHIBATA2019-11-111-24/+87
| | | | | | | | | | | | | | | Features: - Add caller information to some deprecation messages to make them easier to fix [#7361](https://github.com/bundler/bundler/pull/7361) - Reconcile `bundle cache` vs `bundle package` everywhere. Now in docs, CLI help and everywhere else `bundle cache` is the preferred version and `bundle package` remains as an alias [#7389](https://github.com/bundler/bundler/pull/7389) - Display some basic `bundler` documentation together with ruby's RDoc based documentation [#7394](https://github.com/bundler/bundler/pull/7394) Bugfixes: - Fix typos deprecation message and upgrading docs [#7374](https://github.com/bundler/bundler/pull/7374) - Deprecation warnings about `taint` usage on ruby 2.7 [#7385](https://github.com/bundler/bundler/pull/7385) - Fix `--help` flag not correctly delegating to `man` when used with command aliases [#7388](https://github.com/bundler/bundler/pull/7388) - `bundle add` should cache newly added gems if an application cache exists [#7393](https://github.com/bundler/bundler/pull/7393) - Stop using an insecure folder as a "fallback home" when user home is not defined [#7416](https://github.com/bundler/bundler/pull/7416) - Fix `bundler/inline` warning about `Bundler.root` redefinition [#7417](https://github.com/bundler/bundler/pull/7417)
* [bundler/bundler] Fix comments and messages to refer to https urlTakayuki Nakata2019-09-181-1/+1
| | | | https://github.com/bundler/bundler/commit/a86b49f1b9
* [bundler/bundler] Remove Bundler.rubygems.config_map because it was deprecated.Hiroshi SHIBATA2019-08-031-1/+1
| | | | https://github.com/bundler/bundler/commit/5215ae7fa3
* [bundler/bundler] Fully remove compatibility guardDavid Rodríguez2019-08-031-2/+0
| | | | https://github.com/bundler/bundler/commit/2a7a5daba0
* [bundler/bundler] Migrate two more requires to be relativeDavid Rodríguez2019-08-031-1/+1
| | | | https://github.com/bundler/bundler/commit/80217bfe0b
* Merge bundler master from upstream.Hiroshi SHIBATA2019-06-091-53/+53
| | | | Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
* Merge Bundler 2.1.0.pre.1 as developed version from upstream.hsbt2019-04-141-10/+65
| | | | | | https://github.com/bundler/bundler/commit/a53709556b95a914e874b22ed2116a46b0528852 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Bundler 2.0.1 from upstream.hsbt2019-01-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Downgrade Bundler 1.17.x from 2.0.0.hsbt2018-12-111-2/+2
| | | | | | | | We have the platform issue on heroku: * https://gist.github.com/schneems/26452540f6e2bbbcf2ea144f45f6b305 * https://github.com/heroku/heroku-buildpack-ruby/issues/833 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Bundler-2.0.0.pre1 from upstream.hsbt2018-11-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added bundler as default gems. Revisit [Feature #12733]hsbt2018-11-021-0/+567
| | | | | | | | | | | * bin/*, lib/bundler/*, lib/bundler.rb, spec/bundler, man/*: Merge from latest stable branch of bundler/bundler repository and added workaround patches. I will backport them into upstream. * common.mk, defs/gmake.mk: Added `test-bundler` task for test suite of bundler. * tool/sync_default_gems.rb: Added sync task for bundler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Postponing the Bundler merge.hsbt2017-12-221-545/+0
| | | | | | | I faced a big issue about Bundler with ruby core. I have no time to resolve it issue before 2.5 final release. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update bundled bundler to 1.16.0.hsbt2017-11-011-37/+49
| | | | | | | * lib/bundler, spec/bundler: Merge bundler-1.16.0. * common.mk: rspec examples of bundler-1.16.0 needs require option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge bundler to standard libraries.hsbt2017-09-081-0/+533
rubygems 2.7.x depends bundler-1.15.x. This is preparation for rubygems and bundler migration. * lib/bundler.rb, lib/bundler/*: files of bundler-1.15.4 * spec/bundler/*: rspec examples of bundler-1.15.4. I applied patches. * https://github.com/bundler/bundler/pull/6007 * Exclude not working examples on ruby repository. * Fake ruby interpriter instead of installed ruby. * Makefile.in: Added test task named `test-bundler`. This task is only working macOS/linux yet. I'm going to support Windows environment later. * tool/sync_default_gems.rb: Added sync task for bundler. [Feature #12733][ruby-core:77172] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e