require "bundler" Bundler.setup task :default => [:build] task :build do `pwd` `gem build rubychina.gemspec` `gem install rubychina*` end