require 'bundler' Bundler::GemHelper.install_tasks require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = "Google Custom Search API #{GoogleCustomSearch::VERSION}" rdoc.rdoc_files.include('*.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end