Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Gem::Specification#requirements

requirements

Lists the external (to RubyGems) requirements that must be met for this gem to work. It’s simply information for the user.

Usage:

Example
spec.requirements << 'libmagick, v6.0'
spec.requirements << 'A good graphics card'