Don't install RDoc when installing locally built gem

This commit is contained in:
Bryan Helmkamp 2009-01-19 13:48:58 -05:00
parent b8b4a614c4
commit ced63f6e5a

View File

@ -72,7 +72,7 @@ end
desc 'Install the package as a gem.'
task :install_gem => [:clean, :package] do
gem_filename = Dir['pkg/*.gem'].first
sh "sudo gem install --local #{gem_filename}"
sh "sudo gem install --no-rdoc --no-ri --local #{gem_filename}"
end
desc "Delete generated RDoc"