module Hoe::Test
def try_loading_rspec1
def try_loading_rspec1 require 'spec/rake/spectask' desc "Run all specifications" Spec::Rake::SpecTask.new(:spec) do |t| t.libs = self.rspec_dirs t.spec_opts = self.rspec_options end true rescue LoadError => err warn "%p while trying to load RSpec 1: %s" % [ err.class, err.message ] false end