require 'bundler/gem_tasks' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task default: :spec desc 'Open an irb session preloaded with this library' task :console do sh 'irb -rubygems -I lib -r cancannible.rb' end require 'rdoc/task' RDoc::Task.new do |rdoc| rdoc.main = 'README.rdoc' rdoc.rdoc_files.include('README.rdoc', 'lib /*.rb') end