diff --git a/Rakefile b/Rakefile index 3b73e0a..990962e 100644 --- a/Rakefile +++ b/Rakefile @@ -14,6 +14,7 @@ PKG_VERSION = Net::LDAP::VERSION PKG_DIST = "#{PKG_NAME}-#{PKG_VERSION}" PKG_TAR = "pkg/#{PKG_DIST}.tar.gz" MANIFEST = File.read("Manifest.txt").split +MINRUBY = "1.8.7" Hoe.spec PKG_NAME do self.readme_file = "README.markdown" @@ -36,6 +37,10 @@ Hoe.spec PKG_NAME do extra_dev_deps << [ "hanna", "~>0.1.2" ] clean_globs << "coverage" + spec_extras[:required_ruby_version] = ">= #{MINRUBY}" + multiruby_skip << "1.8.6" + multiruby_skip << "1_8_6" + # This is a lie because I will continue to use Archive::Tar::Minitar. self.need_tar = false end