#!/usr/bin/env rake require "bundler/gem_tasks" require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.test_files = Dir['test/plugin/*.rb'] test.ruby_opts = ['-rubygems'] if defined? Gem test.ruby_opts << '-I.' test.verbose = true end task :default => :test