1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

Set minimum ruby version

This commit is contained in:
Dustin Eichler 2019-11-03 09:46:47 -05:00
parent f21bcaede9
commit 154719854e

View File

@ -44,6 +44,8 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^spec/}) spec.test_files = spec.files.grep(%r{^spec/})
spec.require_paths = ["lib"] spec.require_paths = ["lib"]
spec.required_ruby_version = '>= 1.9'
# Database support # Database support
spec.add_runtime_dependency 'activerecord', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION spec.add_runtime_dependency 'activerecord', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
# Need 3+ for ActiveSupport::Concern # Need 3+ for ActiveSupport::Concern