summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2025-09-28[ruby/erb] Remove a trailing spaceTakashi Kokubun
https://github.com/ruby/erb/commit/51c0922170
2025-09-26[ruby/erb] Enhancements (mostly documentation)Burdette Lamar
(https://github.com/ruby/erb/pull/85) https://github.com/ruby/erb/commit/692597b9a2
2025-04-22Remove the temporary script:Edouard CHIN
- The remaining code was not ported over as I felt it wasn't useful to output the Ruby related version in the context of running `bundle doctor`.
2025-04-22[rubygems/rubygems] Warn if TLS 1.2 is not supportedEdouard CHIN
https://github.com/rubygems/rubygems/commit/e4f70a3e4f
2025-04-22[rubygems/rubygems] Summarize the diagnosticEdouard CHIN
https://github.com/rubygems/rubygems/commit/40cf54d256
2025-04-22[rubygems/rubygems] Diagnose the bare net/http connectionEdouard CHIN
https://github.com/rubygems/rubygems/commit/38a0bdc123
2025-04-22[rubygems/rubygems] Diagnose the RubyGems connectionEdouard CHIN
https://github.com/rubygems/rubygems/commit/bf63859e1e
2025-04-22[rubygems/rubygems] Diagnose the bundler connectionEdouard CHIN
https://github.com/rubygems/rubygems/commit/0aae094c89
2025-04-22[rubygems/rubygems] Diagnose when OpenSSL can't be loaded.Edouard CHIN
https://github.com/rubygems/rubygems/commit/e6aa8aabcd
2025-04-22[rubygems/rubygems] Add the `bundle doctor subcommand` skeleton:Edouard CHIN
- The command can either be run using: 1. `bundle doctor --ssl` 2. `bundle doctor ssl` The later is most useful when you need to specify custom ssl options (such as the verify mode or the TLS version when running the diagnostic). The implementation will follow in the next commits. https://github.com/rubygems/rubygems/commit/993d12874c
2025-04-22[rubygems/rubygems] Import the SSL Check script:Edouard CHIN
- Copy/pasted from https://github.com/rubygems/ruby-ssl-check. The next commits will break it down for easier reviewing. https://github.com/rubygems/rubygems/commit/aa643a11b1
2025-01-30Removed executables of bundled gemsHiroshi SHIBATA
2024-10-18[ruby/syntax_suggest] A gem executable should not use require_relativeBenoit Daloze
Otherwise it makes incorrect assumption about RubyGems layout. https://github.com/ruby/syntax_suggest/commit/04585d820d
2024-10-17[ruby/syntax_suggest] Fallback to load syntax_suggest/api when failing to ↵Hiroshi SHIBATA
load with require_relative. https://github.com/ruby/syntax_suggest/commit/b782897560
2023-12-07[rubygems/rubygems] Use modern hashes consistentlyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/bb66253f2c
2023-11-13[rubygems/rubygems] Drop support for Ruby 2.6 and Ruby 2.7 in BundlerDavid Rodríguez
https://github.com/rubygems/rubygems/commit/93619c97ff
2023-06-08Removed executable of raccHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7877
2023-06-06[rubygems/rubygems] Always rely on $LOAD_PATH when jumping from exe to libDavid Rodríguez
Normally, we use `require_relative` when requiring internal code. However, Bundler may also load external code (for example, bundler plugins), and when that external code loads Bundler itself, using `require_relative` without setting up the `$LOAD_PATH` may lead into double load errors. For example, when testing a Gemfile using plugins using our source code tree, I get the following: ``` ➜ plugins-dup ~/Code/rubygems/rubygems/bundler/exe/bundle Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Using bundler 2.5.0.dev Installing extended_bundler-errors 0.3.3 /Users/deivid/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/version.rb:4: warning: already initialized constant Bundler::VERSION /Users/deivid/Code/rubygems/rubygems/bundler/lib/bundler/version.rb:4: warning: previous definition of VERSION was here /Users/deivid/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/worker.rb:5: warning: already initialized constant Bundler::Worker::POISON /Users/deivid/Code/rubygems/rubygems/bundler/lib/bundler/worker.rb:5: warning: previous definition of POISON was here /Users/deivid/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/fileutils/lib/fileutils.rb:183: warning: already initialized constant Bundler::FileUtils::VERSION /Users/deivid/Code/rubygems/rubygems/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb:183: warning: previous definition of VERSION was here /Users/deivid/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/fileutils/lib/fileutils.rb:2165: warning: already initialized constant Bundler::FileUtils::Entry_::S_IF_DOOR /Users/deivid/Code/rubygems/rubygems/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb:2165: warning: previous definition of S_IF_DOOR was here /Users/deivid/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/fileutils/lib/fileutils.rb:2461: warning: already initialized constant Bundler::FileUtils::Entry_::DIRECTORY_TERM /Users/deivid/Code/rubygems/rubygems/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb:2461: warning: previous definition of DIRECTORY_TERM was here /Users/deivid/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/fileutils/lib/fileutils.rb:2569: warning: already initialized constant Bundler::FileUtils::OPT_TABLE /Users/deivid/Code/rubygems/rubygems/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb:2569: warning: previous definition of OPT_TABLE was here /Users/deivid/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/fileutils/lib/fileutils.rb:2627: warning: already initialized constant Bundler::FileUtils::LOW_METHODS /Users/deivid/Code/rubygems/rubygems/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb:2627: warning: previous definition of LOW_METHODS was here /Users/deivid/.asdf/installs/ruby/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/fileutils/lib/fileutils.rb:2634: warning: already initialized constant Bundler::FileUtils::METHODS /Users/deivid/Code/rubygems/rubygems/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb:2634: warning: previous definition of METHODS was here Failed to install plugin `extended_bundler-errors`, due to Bundler::Plugin::MalformattedPlugin (ArgumentError: Trying to register Bundler::GemfileError for status code 4 but Bundler::GemfileError is already registered) ``` Changing this to always use `$LOAD_PATH` fixes the problem. https://github.com/rubygems/rubygems/commit/121a861c39
2023-01-11[ruby/irb] Removed Release Version and Revisions for old VCS softwareHiroshi SHIBATA
https://github.com/ruby/irb/commit/07fae94862
2022-12-25Update Bundler to 2.4.1 & and RubyGems to 3.4.1David Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/7020
2022-12-12Merge RubyGems/Bundler masterHiroshi SHIBATA
from https://github.com/rubygems/rubygems/commit/bfb0ae69776069155d2092702bfbb5a12617d85a Notes: Merged: https://github.com/ruby/ruby/pull/6906
2022-11-24[ruby/erb] Drop deprecated -S option from erb commandTakashi Kokubun
We attempted to remove things like this and reverted all of them, but I think nobody relies on this unlike the positional arguments of `ERB#initialize`. https://github.com/ruby/erb/commit/92fde7e403
2022-08-26Added syntax_suggest cli and resolve failing exapmle with itHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6287
2022-04-28Merge rubygems master 1e4eda741d732ca1bd7031aef0a16c7348adf7a5Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5669
2022-03-14[rubygems/rubygems] Remove extra closing bracket in version warningPaul Kuruvilla
https://github.com/rubygems/rubygems/commit/a3b9f19080
2022-02-12[ruby/rdoc] Relative loading for easier development ↵Ulysse Buonomo
(https://github.com/ruby/rdoc/pull/821) This patch makes sure we only load relative code. Hence when coding or testing rdoc, we'll be sure to always be using the correct code. Discussion started at https://github.com/ruby/rdoc/pull/817. Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com> https://github.com/ruby/rdoc/commit/aa41bd48eb Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-01-18[ruby/irb] require_relative can't be used for default gems' exe filesst0012
The `exe` folder and `lib` folder of default gems don't locate under the same place. While `exe/irb` will be under the gem folder, `irb.rb` will be under `lib/ruby/VERSION/`. So `require_relative` will make `irb` unuseable when shipped with Ruby. Related discussion in the comments: https://github.com/ruby/irb/pull/335 https://github.com/ruby/irb/commit/99d3aa979d
2022-01-17[ruby/irb] Use require_relative to require lib filesst0012
1. `require` can mislead Ruby to load system irb's files and cause constant redefined warnings as other code loads the same module/class from lib folder. 2. Most files already use `require_relative`. https://github.com/ruby/irb/commit/848d339f2e
2021-12-21[rubygems/rubygems] Print warning when running potentially problematic ↵David Rodríguez
rubygems + ruby combinations https://github.com/rubygems/rubygems/commit/d6df0b7de0 Co-authored-by: André Arko <andre@arko.net>
2021-12-21[rubygems/rubygems] Remove ancient checkDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d647ab5607
2021-09-10[ruby/irb] Move IRB::TOPLEVEL_BINDING from exe/irb to lib/irb/workspace.rbaycabta
https://github.com/ruby/irb/commit/e736a77076
2021-09-10[ruby/irb] Avoid loading files' local variables [Bug #17623]Marc-Andre Lafortune
https://github.com/ruby/irb/commit/b12f0cb8e2
2020-09-28Removed unused option on raccHiroshi SHIBATA
2020-09-28Fixed the wrong variable for --executable flagHiroshi SHIBATA
2020-09-28[Fixes #137] Improve reportingMarc-Andre Lafortune
2020-09-28fixup d6a94a0c4b416d4e4a5b25ab8d5482bad00f9765Hiroshi SHIBATA
2020-09-28Removed useless RCS revisionsHiroshi SHIBATA
2020-08-25Fix erb executableLars Kanis
Run ERb processing unconditionally since __FILE__ and $0 doesn't match in a gem context. Notes: Merged: https://github.com/ruby/ruby/pull/3449
2020-08-21Promote erb to default gemsHiroshi SHIBATA
2020-05-22Sync Bundler PR #3624 with HEAD commitsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/3114
2020-04-27Fixed typos in raccNobuyoshi Nakada
2020-01-01Removed the old executables of raccHiroshi SHIBATA
[ruby-core:93516][Feature #15982] https://github.com/ruby/racc/pull/123
2019-12-20Fixed misspellingsNobuyoshi Nakada
Fixed misspellings reported at [Bug #16437], for default gems.
2019-08-18[bundler/bundler] Require relatively from exe/ when possibleDavid Rodríguez
https://github.com/bundler/bundler/commit/e4cbb91b7d
2019-08-03[bundler/bundler] Revert "Migrate requires from exe/ to also be relative"David Rodríguez
This reverts commit d9d2bf6d522dd36d1ef2732e87cef8b7cba729fd. https://github.com/bundler/bundler/commit/eeb2ff1561
2019-08-03[bundler/bundler] Migrate requires from exe/ to also be relativeDavid Rodríguez
https://github.com/bundler/bundler/commit/d9d2bf6d52
2019-06-19Backport racc-1.4.15 from upstream.Hiroshi SHIBATA
2019-04-14Merge Bundler 2.1.0.pre.1 as developed version from upstream.hsbt
https://github.com/bundler/bundler/commit/a53709556b95a914e874b22ed2116a46b0528852 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-04Merge Bundler 2.0.1 from upstream.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11Downgrade Bundler 1.17.x from 2.0.0.hsbt
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