End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::SpecificationPolicy#validate_require_paths
validate_require_paths
lib/rubygems/specification_policy.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/specification_policy.rb, line 286
def validate_require_paths
return unless @specification.raw_require_paths.empty?
error 'specification must have at least one require_path'
end
No documentation available
See also
#validate_required_attributes
#validate_rubygems_version
#validate_required!
#validate_self_inclusion_in_files_list
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1