require "bundler/gem_tasks" require 'rake/testtask' Bundler::GemHelper.install_tasks task :help do puts "Available rake tasks: " puts "rake console - Run a IRB console with all enviroment loaded" puts "rake test - Run tests" end task :test do Dir.chdir('test') end Rake::TestTask.new(:test) do |t| t.libs << '../lib' t.libs << '../test' t.test_files = FileList['*_test.rb'] t.verbose = false end task :default => :test