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