1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rubygems
David Rodríguez d0bf31e6cf [rubygems/rubygems] Don't on gemspecs with invalid require_paths, just warn
These gemspecs already work most of the times. When they are installed
normally, the require_paths in the gemspec stub line becomes actually
correct, and the incorrect value in the real gemspec is ignored. It only
becomes an issue in standalone mode.

In Ruby 3.2, `Kernel#=~` has been removed, and that means that it
becomes harder for us to gracefully deal with this error in standalone
mode, because it now happens earlier due to calling `Array#=~` for this
invalid gemspec (since require_paths is incorrectly an array of arrays).

The easiest way to fix this is to actually make this just work instead
by automatically fixing the issue when reading the packaged gemspec.

https://github.com/rubygems/rubygems/commit/d3f2fe6d26
2022-06-12 02:02:20 +09:00
..
commands
core_ext
ext
optparse
package
request
request_set
resolver
security
source
ssl_certs
tsort
util
available_set.rb
basic_specification.rb
bundler_version_finder.rb
command.rb
command_manager.rb
compatibility.rb
config_file.rb
defaults.rb
dependency.rb
dependency_installer.rb
dependency_list.rb
deprecate.rb
doctor.rb
errors.rb
exceptions.rb
ext.rb
gem_runner.rb
gemcutter_utilities.rb
indexer.rb
install_default_message.rb
install_message.rb
install_update_options.rb
installer.rb
installer_uninstaller_utils.rb
local_remote_options.rb
mock_gem_ui.rb
name_tuple.rb
openssl.rb
optparse.rb
package.rb
package_task.rb
path_support.rb
platform.rb
psych_additions.rb
psych_tree.rb
query_utils.rb
rdoc.rb
remote_fetcher.rb
request.rb
request_set.rb
requirement.rb
resolver.rb
s3_uri_signer.rb
safe_yaml.rb
security.rb
security_option.rb
source.rb
source_list.rb
spec_fetcher.rb
specification.rb [rubygems/rubygems] Don't on gemspecs with invalid require_paths, just warn 2022-06-12 02:02:20 +09:00
specification_policy.rb
stub_specification.rb
text.rb
tsort.rb
uninstaller.rb
unknown_command_spell_checker.rb
uri.rb
uri_formatter.rb
user_interaction.rb
util.rb
validator.rb
version.rb
version_option.rb