require "bundler/gem_tasks" desc "Bundle the gem" task :bundle do sh 'gem build *.gemspec' sh 'gem install *.gem' #sh 'rm *.gem' end task(:default).clear task :default => :bundle