Don't install RDoc when installing locally built gem
This commit is contained in:
parent
b8b4a614c4
commit
ced63f6e5a
2
Rakefile
2
Rakefile
@ -72,7 +72,7 @@ end
|
|||||||
desc 'Install the package as a gem.'
|
desc 'Install the package as a gem.'
|
||||||
task :install_gem => [:clean, :package] do
|
task :install_gem => [:clean, :package] do
|
||||||
gem_filename = Dir['pkg/*.gem'].first
|
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
|
end
|
||||||
|
|
||||||
desc "Delete generated RDoc"
|
desc "Delete generated RDoc"
|
||||||
|
Loading…
Reference in New Issue
Block a user