task :default => :spec require 'spec/rake/spectask' Spec::Rake::SpecTask.new {|t| t.spec_opts = ['--color -b']} begin require 'jeweler' project_name = 'deputy' Jeweler::Tasks.new do |gem| gem.name = project_name gem.summary = "Report to the sheriff" gem.email = "mirko@dawanda.com" gem.homepage = "http://github.com/dawanda/#{project_name}" gem.authors = ["Michael Grosser"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler" end